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