统计订单信息接口

This commit is contained in:
苏尹岚
2019-10-30 17:56:50 +08:00
parent 510a1b11af
commit 186a543ce0
5 changed files with 134 additions and 1 deletions

View File

@@ -1934,5 +1934,13 @@ func init() {
MethodParams: param.Make(),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:ReportController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:ReportController"],
beego.ControllerComments{
Method: "StatisticsReportForOrders",
Router: `/StatisticsReportForOrders`,
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(),
Filters: nil,
Params: nil})
}

View File

@@ -121,6 +121,11 @@ func init() {
&controllers.FoodRecipeController{},
),
),
beego.NSNamespace("/report",
beego.NSInclude(
&controllers.ReportController{},
),
),
)
beego.AddNamespace(ns)