This commit is contained in:
wyw 2025-09-02 13:49:12 +08:00
parent 682ea3333e
commit 7b0f22576a
2 changed files with 9 additions and 9 deletions

View File

@ -1,11 +1,11 @@
{
"private": true,
"scripts": {
"start": "set PORT=2000 && cross-env ESLINT=none roadhog server",
"startbt": "set PORT=2001 && cross-env ESLINT=none roadhog server",
"startly": "set PORT=2002 && cross-env ESLINT=none roadhog server",
"startkljl": "set PORT=2003 && cross-env ESLINT=none roadhog server",
"startxt": "set PORT=2004 && cross-env ESLINT=none roadhog server",
"start": "set PORT=5000 && cross-env ESLINT=none roadhog server",
"startbt": "set PORT=5001 && cross-env ESLINT=none roadhog server",
"startly": "set PORT=5002 && cross-env ESLINT=none roadhog server",
"startkljl": "set PORT=5003 && cross-env ESLINT=none roadhog server",
"startxt": "set PORT=5004 && cross-env ESLINT=none roadhog server",
"build": "cross-env ESLINT=none roadhog build",
"build:report": "cross-env ESLINT=none NODE_ENV=production ANALYZE=true roadhog build"
},

View File

@ -1,8 +1,8 @@
const getServiceHost = api => {
const apimodules = [{ OP: 3116 }, { BD: 3101 }, { DD: 3102 }, { EA: 3103 }, { ED: 3104 }, { EM: 3105 }, { FC: 3106 },
{ FM: 3107 }, { KR: 3108 }, { LG: 3109 }, { MR: 3110 }, { NW: 3111 }, { PF: 3112 }, { PM: 3113 }, { QC: 3114 }, { FW: 3115 }, { OP: 3116 },
{ HM: 3117 }, { PP: 3118 }, { FO: 3119 }, { UT: 3177 }, { BS: 3178 }, { SC: 3179 }, { TI: 3179 }, { SE: 3179 }, { AE: 3179 }, { PT: 3179 }, { LR: 3179 }, { OG: 3179 }, { PE: 3179 }, { OH: 3179 }, { CM: 3179 }, { PR: 3179 }, { DM: 3179 }, { BI: 3179 }, { TL: 3179 }, { WB: 3179 }, { PC: 3179 }, { SK: 3180 }]
let port = 3112
const apimodules = [{ OP: 5116 }, { BD: 5101 }, { DD: 5102 }, { EA: 5103 }, { ED: 5104 }, { EM: 5105 }, { FC: 5106 },
{ FM: 5107 }, { KR: 5108 }, { LG: 5109 }, { MR: 5110 }, { NW: 5111 }, { PF: 5112 }, { PM: 5113 }, { QC: 5114 }, { FW: 5115 }, { OP: 5116 },
{ HM: 5117 }, { PP: 5118 }, { FO: 5119 }, { UT: 5177 }, { BS: 5178 }, { SC: 5179 }, { TI: 5179 }, { SE: 5179 }, { AE: 5179 }, { PT: 5179 }, { LR: 5179 }, { OG: 5179 }, { PE: 5179 }, { OH: 5179 }, { CM: 5179 }, { PR: 5179 }, { DM: 5179 }, { BI: 5179 }, { TL: 5179 }, { WB: 5179 }, { PC: 5179 }, { SK: 5180 }]
let port = 5112
for (let i = 0; i < apimodules.length; i++) {
const apimodule = apimodules[i]
const key = Object.keys(apimodule)[0]