1
This commit is contained in:
parent
af55b31f26
commit
49b99f4242
@ -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'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user