1
This commit is contained in:
@@ -506,7 +506,7 @@ func (a *API) OrderGetOrderDetail(orderID int64, isMTLogistics bool) (orderInfo
|
|||||||
}
|
}
|
||||||
// 老是出现零号流水号订单,还不知道怎么生成的,这个地方直接掐断一下看看
|
// 老是出现零号流水号订单,还不知道怎么生成的,这个地方直接掐断一下看看
|
||||||
if int(utils.MustInterface2Int64(result.(map[string]interface{})["day_seq"])) == 0 {
|
if int(utils.MustInterface2Int64(result.(map[string]interface{})["day_seq"])) == 0 {
|
||||||
return nil, fmt.Errorf("订单流水号不能为0")
|
return nil, fmt.Errorf("订单流水号不能为0,%d", orderID)
|
||||||
}
|
}
|
||||||
return result.(map[string]interface{}), nil
|
return result.(map[string]interface{}), nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user