修改配置
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
wzm
2025-11-21 14:48:00 +08:00
parent 300e299003
commit 4c2253cd16
4 changed files with 21554 additions and 91 deletions

Binary file not shown.

View File

@@ -165,7 +165,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 31 "register": 32
}, },
"enableBy": "register", "enableBy": "register",
"type": "preset", "type": "preset",
@@ -178,7 +178,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 14 "register": 16
}, },
"enableBy": "register", "enableBy": "register",
"type": "preset", "type": "preset",
@@ -195,7 +195,7 @@
1 1
] ]
}, },
"register": 7 "register": 5
}, },
"enableBy": "register", "enableBy": "register",
"type": "preset", "type": "preset",
@@ -226,10 +226,10 @@
"time": { "time": {
"hooks": { "hooks": {
"onStart": [ "onStart": [
4 3
] ]
}, },
"register": 5 "register": 4
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -273,10 +273,10 @@
"time": { "time": {
"hooks": { "hooks": {
"modifyAppData": [ "modifyAppData": [
67 76
] ]
}, },
"register": 32 "register": 30
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -289,7 +289,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 0
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -306,7 +306,7 @@
0 0
], ],
"onCheck": [ "onCheck": [
0 1
] ]
}, },
"register": 2 "register": 2
@@ -323,7 +323,7 @@
"time": { "time": {
"hooks": { "hooks": {
"onCheck": [ "onCheck": [
1 0
] ]
}, },
"register": 1 "register": 1
@@ -356,7 +356,7 @@
0 0
] ]
}, },
"register": 16 "register": 15
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1225,7 +1225,7 @@
1 1
] ]
}, },
"register": 1 "register": 2
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1238,7 +1238,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 2 "register": 1
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1251,7 +1251,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 92 "register": 94
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1264,7 +1264,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 100 "register": 88
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -1294,7 +1294,7 @@
0 0
] ]
}, },
"register": 2 "register": 1
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1333,7 +1333,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 39 "register": 42
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/mock/mock.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/mock/mock.js",
@@ -1345,7 +1345,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 2 "register": 1
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -1400,7 +1400,7 @@
1 1
] ]
}, },
"register": 4 "register": 3
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/polyfill/polyfill.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/polyfill/polyfill.js",
@@ -1451,7 +1451,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 2
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -1464,7 +1464,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 4 "register": 2
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1490,7 +1490,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 3 "register": 2
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -1528,7 +1528,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 6 "register": 5
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1541,7 +1541,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 6 "register": 5
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1580,7 +1580,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 13 "register": 14
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/apiRoute/apiRoute.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/apiRoute/apiRoute.js",
@@ -1592,7 +1592,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 30 "register": 31
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -1642,7 +1642,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 0
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -1671,7 +1671,7 @@
0 0
] ]
}, },
"register": 1 "register": 0
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1696,7 +1696,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 2
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -1709,7 +1709,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 3 "register": 2
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/utoopack/utoopack.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/utoopack/utoopack.js",
@@ -1721,7 +1721,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 4 "register": 6
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/hmrGuardian/hmrGuardian.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/hmrGuardian/hmrGuardian.js",
@@ -1733,7 +1733,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 35 "register": 32
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/routePreloadOnLoad/routePreloadOnLoad.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/features/routePreloadOnLoad/routePreloadOnLoad.js",
@@ -1745,7 +1745,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 3 "register": 2
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -1758,7 +1758,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 4 "register": 3
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1771,7 +1771,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 22 "register": 23
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1797,7 +1797,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 80 "register": 70
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/commands/dev/dev.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/preset-umi/dist/commands/dev/dev.js",
@@ -1822,7 +1822,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 0
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1835,7 +1835,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 0 "register": 1
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1887,7 +1887,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 0
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1952,7 +1952,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 2 "register": 1
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -1965,7 +1965,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 0 "register": 1
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -2017,7 +2017,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 0
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -2082,7 +2082,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 3 "register": 2
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2097,7 +2097,7 @@
}, },
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 0
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/plugins/dist/analytics.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/plugins/dist/analytics.js",
@@ -2110,13 +2110,13 @@
"time": { "time": {
"hooks": { "hooks": {
"modifyConfig": [ "modifyConfig": [
9 6
], ],
"modifyAppData": [ "modifyAppData": [
0 0
] ]
}, },
"register": 9 "register": 7
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/plugins/dist/antd.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/plugins/dist/antd.js",
@@ -2163,10 +2163,10 @@
0 0
], ],
"modifyAppData": [ "modifyAppData": [
0 1
] ]
}, },
"register": 4 "register": 3
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2179,7 +2179,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 5 "register": 4
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2248,7 +2248,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 3 "register": 2
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/plugins/dist/qiankun/master.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/plugins/dist/qiankun/master.js",
@@ -2260,7 +2260,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 2 "register": 3
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/plugins/dist/qiankun/slave.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/plugins/dist/qiankun/slave.js",
@@ -2272,7 +2272,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 2 "register": 1
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2298,7 +2298,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 2 "register": 1
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2311,7 +2311,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 0 "register": 1
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2324,7 +2324,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 2
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2341,7 +2341,7 @@
0 0
] ]
}, },
"register": 1 "register": 0
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -2405,7 +2405,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 1 "register": 0
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -2422,7 +2422,7 @@
0 0
] ]
}, },
"register": 365 "register": 307
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2435,7 +2435,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 262 "register": 270
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2450,7 +2450,7 @@
}, },
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 0 "register": 1
}, },
"enableBy": "config", "enableBy": "config",
"type": "plugin", "type": "plugin",
@@ -2479,7 +2479,7 @@
0 0
] ]
}, },
"register": 67 "register": 80
}, },
"type": "plugin", "type": "plugin",
"path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/request-record/dist/cjs/index.js", "path": "D:/work/SHIHEZI/shz-admin/node_modules/@umijs/request-record/dist/cjs/index.js",
@@ -2491,7 +2491,7 @@
"config": {}, "config": {},
"time": { "time": {
"hooks": {}, "hooks": {},
"register": 3 "register": 1
}, },
"enableBy": "register", "enableBy": "register",
"type": "plugin", "type": "plugin",
@@ -2667,18 +2667,18 @@
"ignoreMomentLocale": true, "ignoreMomentLocale": true,
"proxy": { "proxy": {
"/api/": { "/api/": {
"target": "http://wykj.cdwsx.com/api", "target": "http://36.105.163.21:30081/api/ks",
"changeOrigin": true, "changeOrigin": true,
"pathRewrite": { "pathRewrite": {
"^/api": "" "^/api": ""
} }
}, },
"/profile/avatar/": { "/profile/avatar/": {
"target": "http://wykj.cdwsx.com/api", "target": "http://36.105.163.21:30081/api/ks",
"changeOrigin": true "changeOrigin": true
}, },
"/app/": { "/app/": {
"target": "http://wykj.cdwsx.com/api", "target": "http://36.105.163.21:30081/api/ks",
"changeOrigin": true, "changeOrigin": true,
"pathRewrite": { "pathRewrite": {
"^/api": "" "^/api": ""
@@ -3857,18 +3857,18 @@
}, },
"proxy": { "proxy": {
"/api/": { "/api/": {
"target": "http://wykj.cdwsx.com/api", "target": "http://36.105.163.21:30081/api/ks",
"changeOrigin": true, "changeOrigin": true,
"pathRewrite": { "pathRewrite": {
"^/api": "" "^/api": ""
} }
}, },
"/profile/avatar/": { "/profile/avatar/": {
"target": "http://wykj.cdwsx.com/api", "target": "http://36.105.163.21:30081/api/ks",
"changeOrigin": true "changeOrigin": true
}, },
"/app/": { "/app/": {
"target": "http://wykj.cdwsx.com/api", "target": "http://36.105.163.21:30081/api/ks",
"changeOrigin": true, "changeOrigin": true,
"pathRewrite": { "pathRewrite": {
"^/api": "" "^/api": ""

File diff suppressed because it is too large Load Diff

View File

@@ -217,7 +217,8 @@ export async function render(oldRender: () => void) {
const checkRegion = 5 * 60 * 1000; const checkRegion = 5 * 60 * 1000;
export const request = { export const request = {
...errorConfig, ...errorConfig,
baseURL: process.env.NODE_ENV === 'development' ? '' : 'http://ks.zhaopinzao8dian.com/api/ks', // baseURL: process.env.NODE_ENV === 'development' ? '' : 'http://ks.zhaopinzao8dian.com/api/ks',
baseURL: process.env.NODE_ENV === 'development' ? '' : 'http://36.105.163.21:30081/api/ks',
// baseURL: 'http://39.98.44.136:8080', // baseURL: 'http://39.98.44.136:8080',
requestInterceptors: [ requestInterceptors: [
(url: any, options: { headers: any }) => { (url: any, options: { headers: any }) => {
@@ -270,3 +271,4 @@ export const request = {
}, },
], ],
}; };