|
@@ -7,6 +7,15 @@ import (
|
|
|
|
|
|
func init() {
|
|
func init() {
|
|
|
|
|
|
|
|
+ beego.GlobalControllerRouter["hongze/hz_data_api/controllers:EdbInfoCalculateController"] = append(beego.GlobalControllerRouter["hongze/hz_data_api/controllers:EdbInfoCalculateController"],
|
|
|
|
+ beego.ControllerComments{
|
|
|
|
+ Method: "EdbInfoCalculateItem",
|
|
|
|
+ Router: `/item`,
|
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
|
+ MethodParams: param.Make(),
|
|
|
|
+ Filters: nil,
|
|
|
|
+ Params: nil})
|
|
|
|
+
|
|
beego.GlobalControllerRouter["hongze/hz_data_api/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["hongze/hz_data_api/controllers:EdbInfoController"],
|
|
beego.GlobalControllerRouter["hongze/hz_data_api/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["hongze/hz_data_api/controllers:EdbInfoController"],
|
|
beego.ControllerComments{
|
|
beego.ControllerComments{
|
|
Method: "EdbIndexDetail",
|
|
Method: "EdbIndexDetail",
|
|
@@ -16,6 +25,15 @@ func init() {
|
|
Filters: nil,
|
|
Filters: nil,
|
|
Params: nil})
|
|
Params: nil})
|
|
|
|
|
|
|
|
+ beego.GlobalControllerRouter["hongze/hz_data_api/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["hongze/hz_data_api/controllers:EdbInfoController"],
|
|
|
|
+ beego.ControllerComments{
|
|
|
|
+ Method: "EdbIndexItem",
|
|
|
|
+ Router: `/item`,
|
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
|
+ MethodParams: param.Make(),
|
|
|
|
+ Filters: nil,
|
|
|
|
+ Params: nil})
|
|
|
|
+
|
|
beego.GlobalControllerRouter["hongze/hz_data_api/controllers:IndexController"] = append(beego.GlobalControllerRouter["hongze/hz_data_api/controllers:IndexController"],
|
|
beego.GlobalControllerRouter["hongze/hz_data_api/controllers:IndexController"] = append(beego.GlobalControllerRouter["hongze/hz_data_api/controllers:IndexController"],
|
|
beego.ControllerComments{
|
|
beego.ControllerComments{
|
|
Method: "IndexDataList",
|
|
Method: "IndexDataList",
|