change to testservrt

This commit is contained in:
zhuguoqing 2022-05-25 18:36:54 +08:00
parent 2bae3c0846
commit a49cff7fa0
4 changed files with 22 additions and 20 deletions

View File

@ -14375,7 +14375,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 387,
"width": 898,
"height": 40
},
"_anchorPoint": {
@ -14385,8 +14385,8 @@
},
"_position": {
"__type__": "cc.Vec3",
"x": -40,
"y": -147,
"x": 125,
"y": -27,
"z": 0
},
"_scale": {
@ -14460,7 +14460,7 @@
},
"_position": {
"__type__": "cc.Vec3",
"x": -150,
"x": -405.5,
"y": -1,
"z": 0
},
@ -15001,7 +15001,7 @@
"__id__": 399
}
],
"_active": false,
"_active": true,
"_level": 4,
"_components": [
{
@ -15034,7 +15034,7 @@
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"x": -288.5,
"y": -1,
"z": 0
},
@ -15600,7 +15600,7 @@
"__id__": 417
}
],
"_active": false,
"_active": true,
"_level": 4,
"_components": [
{
@ -15633,7 +15633,7 @@
},
"_position": {
"__type__": "cc.Vec3",
"x": -192,
"x": -150,
"y": -1,
"z": 0
},
@ -16199,7 +16199,7 @@
"__id__": 435
}
],
"_active": false,
"_active": true,
"_level": 4,
"_components": [
{
@ -16229,7 +16229,7 @@
},
"_position": {
"__type__": "cc.Vec3",
"x": -133.5,
"x": -11.5,
"y": -1,
"z": 0
},
@ -16770,7 +16770,7 @@
"__id__": 451
}
],
"_active": false,
"_active": true,
"_level": 4,
"_components": [
{
@ -16803,7 +16803,7 @@
},
"_position": {
"__type__": "cc.Vec3",
"x": -75,
"x": 105.5,
"y": -1,
"z": 0
},
@ -17402,7 +17402,7 @@
},
"_position": {
"__type__": "cc.Vec3",
"x": -16.5,
"x": 239,
"y": -1,
"z": 0
},
@ -18077,7 +18077,7 @@
},
"_position": {
"__type__": "cc.Vec3",
"x": 133.5,
"x": 389,
"y": -1,
"z": 0
},
@ -18708,7 +18708,7 @@
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 387,
"width": 898,
"height": 40
},
"_resize": 1,

View File

@ -22,6 +22,7 @@ export var allBaseNet = {
japan: '-z2-test.cebg.games',
singapore: '-z3-test.cebg.games',
turkey: '-z4-test.cebg.games',
test: '-test.kingsome.cn',
};
const netIdHash = (function () {

View File

@ -221,11 +221,7 @@ cc.Class({
//第一次显示改名界面
// this.calleditname(90001);
// 后端说可以改名并且已经链接钱包的情况 才可以改名
// if (window.canrename && window.hasWallet == true) {
// window.canrename = false;
// this.nd_editName.active = true;
// }
if (window.canrename) {
if (window.canrename && window.hasWallet == true) {
window.canrename = false;
this.nd_editName.active = true;
}

View File

@ -236,6 +236,7 @@ cc.Class({
SDKManage.init('6516');
//默认地区是美国
if (!localStorage.getItem('currentNet')) {
//没设置地区
localStorage.setItem('currentNet', allBaseNet.japan);
@ -265,6 +266,10 @@ cc.Class({
this.allCountry[data];
}
if (cc.sys.isBrowser) {
localStorage.setItem('currentNet', allBaseNet.test);
}
getSwitch(() => {
if (!Config.isTest) {
// 非提审状态