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