1
This commit is contained in:
@@ -12,7 +12,7 @@ type SupermOrderDispatcherRequest struct {
|
||||
}
|
||||
|
||||
func (c *SupermOrderDispatcherRequest) GetUrlPath() string {
|
||||
return "/superm/orderDispatcher"
|
||||
return "/superm/shopOrderDispatcher"
|
||||
}
|
||||
|
||||
func New() *SupermOrderDispatcherRequest {
|
||||
@@ -45,7 +45,7 @@ func (c *SupermOrderDispatcherRequest) GetParams() *SupermOrderDispatcherParam {
|
||||
}
|
||||
|
||||
type SupermOrderDispatcherParam struct {
|
||||
StoreID int64 `json:"storeID"`
|
||||
ShopOrderID int64 `json:"shopOrderID"`
|
||||
DispatcherType int32 `json:"dispatcherType"`
|
||||
StoreID int64 `json:"store_id"`
|
||||
ShopOrderID string `json:"shop_order_id"`
|
||||
DispatcherType int32 `json:"dispatcher_type"`
|
||||
}
|
||||
|
||||
@@ -36,8 +36,8 @@ func (a *API) GetDispatcherInfo(storeID int64, shopOrderID string, dispatcherFee
|
||||
return response.Data.DispatcherFee, nil
|
||||
}
|
||||
|
||||
// /superm/orderDispatcher 呼叫运力并发货/重新发货、取消运力
|
||||
func (a *API) OrderDispatcher(storeID, shopOrderID int64, dispatcherType int32) error {
|
||||
// /superm/shopOrderDispatcher 呼叫运力并发货/重新发货、取消运力
|
||||
func (a *API) ShopOrderDispatcher(storeID int64, shopOrderID string, dispatcherType int32) error {
|
||||
request := superm_orderDispatcher_request.New()
|
||||
request.Param = &superm_orderDispatcher_request.SupermOrderDispatcherParam{
|
||||
StoreID: storeID,
|
||||
|
||||
Reference in New Issue
Block a user