|
|
@@ -642,7 +642,10 @@ impl CoinexSwapRest {
|
|
|
return if is_success && data_json["code"].to_string() == "0" {
|
|
|
self.on_success_data(data_json["data"].clone())
|
|
|
} else {
|
|
|
- error!("请求成功,code码异常。原始http 响应数据:{}, text: {}", res_json, text);
|
|
|
+ // 3103 是订单不存在
|
|
|
+ if !is_success || (is_success && data_json["code"] != "3103") {
|
|
|
+ error!("请求成功,code码异常。原始http 响应数据:{}, text: {}", res_json, text);
|
|
|
+ }
|
|
|
self.on_error_data(&text, &url, &body)
|
|
|
};
|
|
|
}
|