@ikenxuan/amagi 5.5.0 → 5.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3117,7 +3117,7 @@ var GlobalGetData4 = async (methodType, config) => {
|
|
|
3117
3117
|
return response;
|
|
3118
3118
|
}
|
|
3119
3119
|
if (response.code !== 0) {
|
|
3120
|
-
throw new Error(`API\u8BF7\u6C42\u5931\u8D25: ${((_a = response.data) == null ? void 0 : _a.msg) || "\u672A\u77E5\u9519\u8BEF"}`);
|
|
3120
|
+
throw new Error(`API\u8BF7\u6C42\u5931\u8D25: ${((_a = response.data) == null ? void 0 : _a.msg) || response.msg || "\u672A\u77E5\u9519\u8BEF"}, code: ${response.code}`);
|
|
3121
3121
|
}
|
|
3122
3122
|
return response;
|
|
3123
3123
|
} catch (error) {
|
|
@@ -3101,7 +3101,7 @@ var GlobalGetData4 = async (methodType, config) => {
|
|
|
3101
3101
|
return response;
|
|
3102
3102
|
}
|
|
3103
3103
|
if (response.code !== 0) {
|
|
3104
|
-
throw new Error(`API\u8BF7\u6C42\u5931\u8D25: ${((_a = response.data) == null ? void 0 : _a.msg) || "\u672A\u77E5\u9519\u8BEF"}`);
|
|
3104
|
+
throw new Error(`API\u8BF7\u6C42\u5931\u8D25: ${((_a = response.data) == null ? void 0 : _a.msg) || response.msg || "\u672A\u77E5\u9519\u8BEF"}, code: ${response.code}`);
|
|
3105
3105
|
}
|
|
3106
3106
|
return response;
|
|
3107
3107
|
} catch (error) {
|