fix: 处理order_status异步
This commit is contained in:
@@ -25,7 +25,7 @@ class BaseResponse<T> {
|
||||
final dataMap = json['data'] ?? Map<String, dynamic>();
|
||||
final cipherText = dataMap['data'] ?? "";
|
||||
final nonce = dataMap['time'] ?? "";
|
||||
|
||||
print('明文${cipherText}');
|
||||
// 判断是否需要解密:根据站点配置的 enable_security 字段
|
||||
if (cipherText.isNotEmpty && nonce.isNotEmpty) {
|
||||
try {
|
||||
|
||||
@@ -329,6 +329,7 @@ class HttpUtil {
|
||||
}
|
||||
}
|
||||
}
|
||||
print('err.type ${err.type}');
|
||||
if (err.type == DioExceptionType.unknown) {
|
||||
final _pathOnly = (err.requestOptions.path.isNotEmpty)
|
||||
? err.requestOptions.path
|
||||
|
||||
Reference in New Issue
Block a user