This commit is contained in:
guoqing.zhu 2022-05-30 16:38:25 +08:00
parent 051213c869
commit 2a052ac0aa
3 changed files with 30 additions and 3 deletions

View File

@ -47,8 +47,8 @@
},
"_scale": {
"__type__": "cc.Vec3",
"x": 0.5993534574534599,
"y": 0.5993534574534599,
"x": 0.739453136920929,
"y": 0.739453136920929,
"z": 1
},
"_quat": {

View File

@ -19,8 +19,12 @@ export var allBaseNet = {
isDevEnv();
function isDevEnv() {
var toreturn = false
if(cc.debug){
return true;
}
return toreturn
}
if (isDevEnv()) {
allBaseNet = {

View File

@ -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);
},
};