|
@@ -7,6 +7,51 @@ import (
|
|
|
|
|
|
func init() {
|
|
|
|
|
|
+ beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"] = append(beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "List",
|
|
|
+ Router: `/chat`,
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
+ beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"] = append(beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "TopicDelete",
|
|
|
+ Router: `/topic/delete`,
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
+ beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"] = append(beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "TopicDetail",
|
|
|
+ Router: `/topic/detail`,
|
|
|
+ AllowHTTPMethods: []string{"get"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
+ beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"] = append(beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "TopicEdit",
|
|
|
+ Router: `/topic/edit`,
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
+ beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"] = append(beego.GlobalControllerRouter["eta/eta_api/controllers/ai:AiController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "TopicList",
|
|
|
+ Router: `/topic/list`,
|
|
|
+ AllowHTTPMethods: []string{"get"},
|
|
|
+ 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",
|