update
This commit is contained in:
parent
051213c869
commit
2a052ac0aa
@ -47,8 +47,8 @@
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.5993534574534599,
|
||||
"y": 0.5993534574534599,
|
||||
"x": 0.739453136920929,
|
||||
"y": 0.739453136920929,
|
||||
"z": 1
|
||||
},
|
||||
"_quat": {
|
||||
|
@ -19,8 +19,12 @@ export var allBaseNet = {
|
||||
isDevEnv();
|
||||
|
||||
function isDevEnv() {
|
||||
var toreturn = false
|
||||
if(cc.debug){
|
||||
return true;
|
||||
}
|
||||
return toreturn
|
||||
}
|
||||
|
||||
if (isDevEnv()) {
|
||||
allBaseNet = {
|
||||
|
@ -612,4 +612,27 @@ module.exports = {
|
||||
.addKV('mission_id', mission);
|
||||
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