aa
This commit is contained in:
@@ -388,11 +388,12 @@ func (a *API) OrderQuery(jdParams map[string]interface{}) (retVal []interface{},
|
||||
for i := 0; i < QueryOrderRetryCount; i++ {
|
||||
retVal, totalCount, err = a.AccessAPIHavePage("order/es/query", jdParams, nil, nil, nil)
|
||||
if err != nil {
|
||||
if err2, ok := err.(*utils.ErrorWithCode); ok {
|
||||
if err2.IntCode() == -4 {
|
||||
continue
|
||||
}
|
||||
}
|
||||
//if err2, ok := err.(*utils.ErrorWithCode); ok {
|
||||
// if err2.IntCode() == -4 {
|
||||
// continue
|
||||
// }
|
||||
//}
|
||||
return retVal, totalCount, err
|
||||
}
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user