Roc 1 năm trước cách đây
mục cha
commit
d51b01b7b6
1 tập tin đã thay đổi với 18 bổ sung0 xóa
  1. 18 0
      routers/commentsRouter.go

+ 18 - 0
routers/commentsRouter.go

@@ -52,6 +52,24 @@ func init() {
             Filters: nil,
             Params: nil})
 
+    beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiFileController"] = append(beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiFileController"],
+        beego.ControllerComments{
+            Method: "FileRetrieve",
+            Router: `/file/retrieve`,
+            AllowHTTPMethods: []string{"post"},
+            MethodParams: param.Make(),
+            Filters: nil,
+            Params: nil})
+
+    beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiFileController"] = append(beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiFileController"],
+        beego.ControllerComments{
+            Method: "FileUpload",
+            Router: `/file/upload`,
+            AllowHTTPMethods: []string{"post"},
+            MethodParams: param.Make(),
+            Filters: nil,
+            Params: nil})
+
     beego.GlobalControllerRouter["eta/eta_api/controllers/data_manage/correlation:CorrelationChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_api/controllers/data_manage/correlation:CorrelationChartClassifyController"],
         beego.ControllerComments{
             Method: "AddChartClassify",