Browse Source

Merge branch 'ETA_1.1.3'

ziwen 1 year ago
parent
commit
9ed91b2554
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/resource.go

+ 2 - 2
controllers/resource.go

@@ -33,8 +33,8 @@ func (this *ResourceController) ResourceUpload() {
 	}()
 
 
-	//uploadDir :=  "/home/code/python/meeting_probabilities/file"
-	uploadDir :=  "/Users/xi/Desktop/file"
+	uploadDir :=  "./static/"
+	//uploadDir :=  "/Users/xi/Desktop/file"
 	if e = os.MkdirAll(uploadDir, 766); e != nil {
 		br.Msg = "存储目录创建失败"
 		br.ErrMsg = "存储目录创建失败, Err:" + e.Error()