1
This commit is contained in:
@@ -556,10 +556,13 @@ func (a *API) OrderLogisticsStatus(orderID int64) (status int64, err error) {
|
||||
result, err := a.AccessAPI("order/logistics/status", true, map[string]interface{}{
|
||||
KeyOrderID: orderID,
|
||||
})
|
||||
if err == nil {
|
||||
return result.(map[string]interface{})["logistics_status"].(int64), nil
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
return 0, err
|
||||
|
||||
data := result.(map[string]interface{})
|
||||
|
||||
return data["logistics_status"].(int64), err
|
||||
}
|
||||
|
||||
// 拉取用户真实手机号(必接)
|
||||
|
||||
Reference in New Issue
Block a user