京东订单测试门店
This commit is contained in:
@@ -1059,3 +1059,32 @@ func (c *OrderController) GetOrderUserBuyFirst() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 京东商城订单转移
|
||||
// @Description 京东商城订单转移
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeID formData int true "转移的门店ID"
|
||||
// @Param vendorOrderID formData string true "转移的订单号"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /TransferJdsOrder [post]
|
||||
func (c *OrderController) TransferJdsOrder() {
|
||||
c.callTransferJdsOrder(func(params *tOrderTransferJdsOrderParams) (retVal interface{}, errCode string, err error) {
|
||||
err = orderman.TransferJdsOrder(params.Ctx, params.VendorOrderID, params.StoreID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 京东商城订单发送京东物流
|
||||
// @Description 京东商城订单发送京东物流
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorOrderID formData string true "订单号"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /SendJdwlForJdsOrder [post]
|
||||
func (c *OrderController) SendJdwlForJdsOrder() {
|
||||
c.callSendJdwlForJdsOrder(func(params *tOrderSendJdwlForJdsOrderParams) (retVal interface{}, errCode string, err error) {
|
||||
err = orderman.SendJdwlForJdsOrder(params.Ctx, params.VendorOrderID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user