This commit is contained in:
aozhiwei 2022-05-25 22:17:37 +08:00
parent af55b31f26
commit 49b99f4242

View File

@ -87,7 +87,7 @@ function getCommonParam() {
export function getNormalApiUrl(name) {
return (
functionNet[name] +
'-z3-test.cebg.games' +
(isDevEnv() ? '-test.kingsome.cn' : '-z3-test.cebg.games') +
'/webapp/index.php?' +
getCommonParam()
);
@ -96,7 +96,7 @@ export function getNormalApiUrl(name) {
export function getExaminingUrl() {
return (
functionNet['login'] +
'-z3-test.cebg.games' +
(isDevEnv() ? '-test.kingsome.cn' : '-z3-test.cebg.games') +
'/webapp/index.php?' +
getCommonParam()
);
@ -104,7 +104,9 @@ export function getExaminingUrl() {
export function getRelationUrl() {
return (
functionNet['relation'] + '-z3-test.cebg.games' + '/friend/websocket'
functionNet['relation'] +
(isDevEnv() ? '-test.kingsome.cn' : '-z3-test.cebg.games') +
'/friend/websocket'
);
}