添加快递渠道
This commit is contained in:
@@ -1015,4 +1015,13 @@ func init() {
|
||||
Filters: nil,
|
||||
Params: nil})
|
||||
|
||||
// 快递运单
|
||||
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:QBiDaExpressController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:QBiDaExpressController"],
|
||||
beego.ControllerComments{
|
||||
Method: "QueryExpressPrice",
|
||||
Router: "/QueryExpressPrice",
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
MethodParams: param.Make(),
|
||||
Filters: nil,
|
||||
Params: nil})
|
||||
}
|
||||
|
||||
@@ -61,6 +61,12 @@ func init() {
|
||||
&controllers.UnionController{},
|
||||
),
|
||||
),
|
||||
// QBiDa
|
||||
web.NSNamespace("/express",
|
||||
web.NSInclude(
|
||||
&controllers.QBiDaExpressController{},
|
||||
),
|
||||
),
|
||||
)
|
||||
web.AddNamespace(ns)
|
||||
web.AutoRouter(&controllers.WXPayController{})
|
||||
|
||||
Reference in New Issue
Block a user