wotokol-edm 1.1.60 → 1.1.61

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.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "wotokol-edm",
3
- "version": "1.1.60",
4
- "description": "",
3
+ "version": "1.1.61",
5
4
  "main": "wotokol-edm.common.js",
6
5
  "scripts": {
7
6
  "test": "echo \"Error: no test specified\" && exit 1"
8
7
  },
9
8
  "keywords": [],
10
9
  "author": "",
11
- "license": "ISC"
10
+ "license": "ISC",
11
+ "description": ""
12
12
  }
@@ -91190,9 +91190,9 @@ service.interceptors.request.use(config => {
91190
91190
  service.interceptors.response.use(response => {
91191
91191
  const res = response.data;
91192
91192
  try {
91193
- if (res.data.code != 0) {
91193
+ if (response.data.code != 0) {
91194
91194
  // 捕获code不为0的接口异常
91195
- throw new Error(res.request.responseText || res.data.code);
91195
+ throw new Error(response.request.responseText || response.data.code);
91196
91196
  }
91197
91197
  } catch (error) {
91198
91198
  // 处理错误的代码,例如打印错误信息
@@ -97480,9 +97480,9 @@ request_instance.interceptors.response.use(function (response) {
97480
97480
  }
97481
97481
  }
97482
97482
  try {
97483
- if (res.data.code != 0) {
97483
+ if (response.data.code != 0) {
97484
97484
  // 捕获code不为0的接口异常
97485
- throw new Error(res.request.responseText || res.data.code);
97485
+ throw new Error(response.request.responseText || response.data.code);
97486
97486
  }
97487
97487
  } catch (error) {
97488
97488
  // 处理错误的代码,例如打印错误信息
@@ -132314,9 +132314,9 @@ request_dss_instance.interceptors.response.use(function (response) {
132314
132314
  alert('服务器不可用,请联系系统管理员');
132315
132315
  }
132316
132316
  try {
132317
- if (res.data.code != 0) {
132317
+ if (response.data.code != 0) {
132318
132318
  // 捕获code不为0的接口异常
132319
- throw new Error(res.request.responseText || res.data.code);
132319
+ throw new Error(response.request.responseText || response.data.code);
132320
132320
  }
132321
132321
  } catch (error) {
132322
132322
  // 处理错误的代码,例如打印错误信息
Binary file
@@ -91200,9 +91200,9 @@ service.interceptors.request.use(config => {
91200
91200
  service.interceptors.response.use(response => {
91201
91201
  const res = response.data;
91202
91202
  try {
91203
- if (res.data.code != 0) {
91203
+ if (response.data.code != 0) {
91204
91204
  // 捕获code不为0的接口异常
91205
- throw new Error(res.request.responseText || res.data.code);
91205
+ throw new Error(response.request.responseText || response.data.code);
91206
91206
  }
91207
91207
  } catch (error) {
91208
91208
  // 处理错误的代码,例如打印错误信息
@@ -97490,9 +97490,9 @@ request_instance.interceptors.response.use(function (response) {
97490
97490
  }
97491
97491
  }
97492
97492
  try {
97493
- if (res.data.code != 0) {
97493
+ if (response.data.code != 0) {
97494
97494
  // 捕获code不为0的接口异常
97495
- throw new Error(res.request.responseText || res.data.code);
97495
+ throw new Error(response.request.responseText || response.data.code);
97496
97496
  }
97497
97497
  } catch (error) {
97498
97498
  // 处理错误的代码,例如打印错误信息
@@ -132324,9 +132324,9 @@ request_dss_instance.interceptors.response.use(function (response) {
132324
132324
  alert('服务器不可用,请联系系统管理员');
132325
132325
  }
132326
132326
  try {
132327
- if (res.data.code != 0) {
132327
+ if (response.data.code != 0) {
132328
132328
  // 捕获code不为0的接口异常
132329
- throw new Error(res.request.responseText || res.data.code);
132329
+ throw new Error(response.request.responseText || response.data.code);
132330
132330
  }
132331
132331
  } catch (error) {
132332
132332
  // 处理错误的代码,例如打印错误信息
Binary file