marge: 合并代码

This commit is contained in:
TsMask committed 2023-12-29 20:22:43 +08:00
1 parent 615ab2eb2e
commit 3c5c77b881
39 files changed
+1571 -289

No files matched your search

+1 -1
View File
@@ -225,7 +225,7 @@ func UploadSoftwareMultiFile(w http.ResponseWriter, r *http.Request) {
//fileName, err := services.HandleUploadFile(r, softwarePath, "")
// 解析multipart/form-data请求
err = r.ParseMultipartForm(200 << 20) // 200MB
err = r.ParseMultipartForm(1000 << 20) // 1000MB
if err != nil {
log.Error("Faile to ParseMultipartForm:", err)
services.ResponseInternalServerError500ProcessError(w, err)