update
This commit is contained in:
parent
051213c869
commit
2a052ac0aa
@ -47,8 +47,8 @@
|
|||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.5993534574534599,
|
"x": 0.739453136920929,
|
||||||
"y": 0.5993534574534599,
|
"y": 0.739453136920929,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
"_quat": {
|
"_quat": {
|
||||||
|
@ -19,7 +19,11 @@ export var allBaseNet = {
|
|||||||
isDevEnv();
|
isDevEnv();
|
||||||
|
|
||||||
function isDevEnv() {
|
function isDevEnv() {
|
||||||
return true;
|
var toreturn = false
|
||||||
|
if(cc.debug){
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return toreturn
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isDevEnv()) {
|
if (isDevEnv()) {
|
||||||
|
@ -612,4 +612,27 @@ module.exports = {
|
|||||||
.addKV('mission_id', mission);
|
.addKV('mission_id', mission);
|
||||||
this.getResponce(cb, this.urlbd);
|
this.getResponce(cb, this.urlbd);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
searchUserByAccountid(account, cb) {
|
||||||
|
this.urlbd.clear();
|
||||||
|
this.urlbd
|
||||||
|
.addKV("c", "User")
|
||||||
|
.addKV("a", "info")
|
||||||
|
.addKV("account_id", this.account_id)
|
||||||
|
.addKV("session_id", this.session_id)
|
||||||
|
.addKV("target_id", account);
|
||||||
|
this.getResponce(cb, this.urlbd);
|
||||||
|
},
|
||||||
|
|
||||||
|
searchUserByName(name, cb) {
|
||||||
|
this.urlbd.clear();
|
||||||
|
this.urlbd
|
||||||
|
.addKV("c", "User")
|
||||||
|
.addKV("a", "query")
|
||||||
|
.addKV("account_id", this.account_id)
|
||||||
|
.addKV("session_id", this.session_id)
|
||||||
|
.addKV("name", name);
|
||||||
|
this.getResponce(cb, this.urlbd);
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user