- fix bug.

This commit is contained in:
gazebo
2018-08-24 15:21:49 +08:00
parent bc5e4a3449
commit 2f19dcf546
2 changed files with 5 additions and 5 deletions

View File

@@ -254,7 +254,7 @@ func (c *OrderController) GetOrderInfo() {
// @Param vendorID query int true "订单所属的厂商ID"
// @Success 200 {object} business.model.CallResult
// @Failure 200 {object} business.model.CallResult
// @router /GetOrderInfo [get]
// @router /GetOrderWaybillInfo [get]
func (c *OrderController) GetOrderWaybillInfo() {
c.orderOperate(func(vendorOrderID string, vendorID int, userName string) (interface{}, error) {
// globals.SugarLogger.Debugf("userName:%s", userName)

View File

@@ -33,16 +33,16 @@ func init() {
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:OrderController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:OrderController"],
beego.ControllerComments{
Method: "GetOrderWaybillInfo",
Router: `/GetOrderInfo`,
Method: "GetOrderSkuInfo",
Router: `/GetOrderSkuInfo`,
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(),
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:OrderController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:OrderController"],
beego.ControllerComments{
Method: "GetOrderSkuInfo",
Router: `/GetOrderSkuInfo`,
Method: "GetOrderWaybillInfo",
Router: `/GetOrderWaybillInfo`,
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(),
Params: nil})