wotokol-edm 1.1.67 → 1.1.68
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
package/wotokol-edm.common.js
CHANGED
|
@@ -91269,7 +91269,7 @@ service.interceptors.response.use(response => {
|
|
|
91269
91269
|
if (typeof response.data === 'object' && response.data.hasOwnProperty('code') && response.data.code != 0) {
|
|
91270
91270
|
// 捕获code不为0的接口异常
|
|
91271
91271
|
const userInfo = JSON.parse(localStorage.getItem("user_info") || '{}');
|
|
91272
|
-
const userId = userInfo.user_id ? userInfo.user_id : '';
|
|
91272
|
+
const userId = userInfo.user_id ? userInfo.user_id + '_' : '';
|
|
91273
91273
|
throw new Error(userId + response.request.responseURL + response.request.responseText || response.data.code);
|
|
91274
91274
|
}
|
|
91275
91275
|
} catch (error) {
|
|
@@ -97589,7 +97589,7 @@ request_instance.interceptors.response.use(function (response) {
|
|
|
97589
97589
|
if (typeof response.data === 'object' && response.data.hasOwnProperty('code') && response.data.code != 0) {
|
|
97590
97590
|
// 捕获code不为0的接口异常
|
|
97591
97591
|
const userInfo = JSON.parse(localStorage.getItem("user_info") || '{}');
|
|
97592
|
-
const userId = userInfo.user_id ? userInfo.user_id : '';
|
|
97592
|
+
const userId = userInfo.user_id ? userInfo.user_id + '_' : '';
|
|
97593
97593
|
throw new Error(userId + response.request.responseURL + response.request.responseText || response.data.code);
|
|
97594
97594
|
}
|
|
97595
97595
|
} catch (error) {
|
|
@@ -132433,7 +132433,7 @@ request_dss_instance.interceptors.response.use(function (response) {
|
|
|
132433
132433
|
if (typeof response.data === 'object' && response.data.hasOwnProperty('code') && response.data.code != 0) {
|
|
132434
132434
|
// 捕获code不为0的接口异常
|
|
132435
132435
|
const userInfo = JSON.parse(localStorage.getItem("user_info") || '{}');
|
|
132436
|
-
const userId = userInfo.user_id ? userInfo.user_id : '';
|
|
132436
|
+
const userId = userInfo.user_id ? userInfo.user_id + '_' : '';
|
|
132437
132437
|
throw new Error(userId + response.request.responseURL + response.request.responseText || response.data.code);
|
|
132438
132438
|
}
|
|
132439
132439
|
} catch (error) {
|
package/wotokol-edm.common.js.gz
CHANGED
|
Binary file
|
package/wotokol-edm.umd.js
CHANGED
|
@@ -91279,7 +91279,7 @@ service.interceptors.response.use(response => {
|
|
|
91279
91279
|
if (typeof response.data === 'object' && response.data.hasOwnProperty('code') && response.data.code != 0) {
|
|
91280
91280
|
// 捕获code不为0的接口异常
|
|
91281
91281
|
const userInfo = JSON.parse(localStorage.getItem("user_info") || '{}');
|
|
91282
|
-
const userId = userInfo.user_id ? userInfo.user_id : '';
|
|
91282
|
+
const userId = userInfo.user_id ? userInfo.user_id + '_' : '';
|
|
91283
91283
|
throw new Error(userId + response.request.responseURL + response.request.responseText || response.data.code);
|
|
91284
91284
|
}
|
|
91285
91285
|
} catch (error) {
|
|
@@ -97599,7 +97599,7 @@ request_instance.interceptors.response.use(function (response) {
|
|
|
97599
97599
|
if (typeof response.data === 'object' && response.data.hasOwnProperty('code') && response.data.code != 0) {
|
|
97600
97600
|
// 捕获code不为0的接口异常
|
|
97601
97601
|
const userInfo = JSON.parse(localStorage.getItem("user_info") || '{}');
|
|
97602
|
-
const userId = userInfo.user_id ? userInfo.user_id : '';
|
|
97602
|
+
const userId = userInfo.user_id ? userInfo.user_id + '_' : '';
|
|
97603
97603
|
throw new Error(userId + response.request.responseURL + response.request.responseText || response.data.code);
|
|
97604
97604
|
}
|
|
97605
97605
|
} catch (error) {
|
|
@@ -132443,7 +132443,7 @@ request_dss_instance.interceptors.response.use(function (response) {
|
|
|
132443
132443
|
if (typeof response.data === 'object' && response.data.hasOwnProperty('code') && response.data.code != 0) {
|
|
132444
132444
|
// 捕获code不为0的接口异常
|
|
132445
132445
|
const userInfo = JSON.parse(localStorage.getItem("user_info") || '{}');
|
|
132446
|
-
const userId = userInfo.user_id ? userInfo.user_id : '';
|
|
132446
|
+
const userId = userInfo.user_id ? userInfo.user_id + '_' : '';
|
|
132447
132447
|
throw new Error(userId + response.request.responseURL + response.request.responseText || response.data.code);
|
|
132448
132448
|
}
|
|
132449
132449
|
} catch (error) {
|
package/wotokol-edm.umd.js.gz
CHANGED
|
Binary file
|