1
This commit is contained in:
@@ -93,7 +93,7 @@ func (a *Api) CancelOrder(param *CancelOrderReq) error {
|
||||
if err := utils.Map2StructByJson(result, resultData, false); err != nil {
|
||||
return err
|
||||
}
|
||||
if resultData.Code != 0 {
|
||||
if resultData.Code != 0 && resultData.Msg != "success" {
|
||||
return errors.New(resultData.Msg)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user