1
This commit is contained in:
@@ -84,7 +84,7 @@ func (a *API) CreateOrder(createOrderParam *CreateOrderReqParam) (result string,
|
|||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
if utils.Interface2String(resultData["code"]) != "200" || utils.Interface2String(resultData["apiCode"]) != "" {
|
if utils.Interface2String(resultData["code"]) != "200" || utils.Interface2String(resultData["apiCode"]) != "" {
|
||||||
return "", fmt.Errorf(fmt.Sprintf("其他异常错误信息:%s", utils.Interface2String(resultData["apiCode"])))
|
return "", fmt.Errorf(fmt.Sprintf("其他异常错误信息:%s,%s", utils.Interface2String(resultData["apiCode"]), utils.Interface2StringList("msg")))
|
||||||
}
|
}
|
||||||
if orderId, ok := resultData["business_data"]; ok {
|
if orderId, ok := resultData["business_data"]; ok {
|
||||||
res := &CreateOrderRes{}
|
res := &CreateOrderRes{}
|
||||||
|
|||||||
Reference in New Issue
Block a user