- fix bug.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user