@das-fed/utils 7.0.0-zhaohang.3 → 7.0.0-zhaohang.5
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/api-services/index.js +542 -538
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +704 -682
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +489 -485
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +488 -484
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +489 -485
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +733 -711
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +701 -683
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js +532 -528
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +687 -701
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +894 -872
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +659 -655
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +490 -486
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +489 -485
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +489 -485
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +704 -682
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +492 -488
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +704 -682
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +489 -485
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +644 -644
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +490 -486
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +489 -485
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +489 -485
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +489 -485
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +488 -484
- package/api-services/src/create-service/index.js.gz +0 -0
- package/create-api-service/index.js +488 -484
- package/create-api-service/index.js.gz +0 -0
- package/curring-http/index.js +1 -1
- package/curring-http/index.js.gz +0 -0
- package/package.json +4 -4
|
Binary file
|
package/curring-http/index.js
CHANGED
|
@@ -2224,7 +2224,7 @@ const ai = "SUC0000", xi = (e, t) => {
|
|
|
2224
2224
|
}), i && (p = await i(p)), f && (p = pt(p, f)), y && (p = pt(p, y)), t && (p = await t(p)), p.axiosInstance && (e = p.axiosInstance), p.urlPrefix && (p.baseURL = p.baseURL + p.urlPrefix), p.signal || (p.signal = g.value.signal), p.beforeRun && (p = await p.beforeRun(p)), e(p).then(async (E) => {
|
|
2225
2225
|
let w = (E == null ? void 0 : E.data) ?? E;
|
|
2226
2226
|
if (p.onSuccess)
|
|
2227
|
-
return w = await p.onSuccess(E, p), w.code !== ai ? (p.onCustomError && (w = await p.onCustomError(null, p)), l.value = w, Promise.resolve([w, null])) : (d.value = w, Promise.resolve([null, w]));
|
|
2227
|
+
return w = await p.onSuccess(E, p), w.code !== ai ? (p.onCustomError && (w = await p.onCustomError(null, p)), l.value = w, Promise.resolve([w, null])) : (d.value = w.data, Promise.resolve([null, w.data]));
|
|
2228
2228
|
}).catch(async (E) => {
|
|
2229
2229
|
if (p.signal) {
|
|
2230
2230
|
const C = p.signal.reason;
|
package/curring-http/index.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/utils",
|
|
3
|
-
"version": "7.0.0-zhaohang.
|
|
3
|
+
"version": "7.0.0-zhaohang.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "ISC",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@antv/x6": "^2.18.1",
|
|
12
|
-
"@das-fed/utils": "7.0.0-zhaohang.
|
|
12
|
+
"@das-fed/utils": "7.0.0-zhaohang.5",
|
|
13
13
|
"@vue/shared": "^3.4.21",
|
|
14
14
|
"@vueuse/core": "^9.6.0",
|
|
15
15
|
"axios": "^1.6.7",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"vue": "^3.4.21"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@das-fed/cli": "7.0.0-zhaohang.
|
|
25
|
-
"@das-fed/web": "7.0.0-zhaohang.
|
|
24
|
+
"@das-fed/cli": "7.0.0-zhaohang.5",
|
|
25
|
+
"@das-fed/web": "7.0.0-zhaohang.5",
|
|
26
26
|
"@types/js-cookie": "^3.0.6",
|
|
27
27
|
"@types/lodash-es": "^4.17.12",
|
|
28
28
|
"@types/qs": "^6.9.15",
|