|
@@ -24,7 +24,7 @@ export default class HttpCommand {
|
|
|
this.serverUrl = 'https://xiyou-test.duiweize.com/';
|
|
this.serverUrl = 'https://xiyou-test.duiweize.com/';
|
|
|
}
|
|
}
|
|
|
this.serverUrl = 'http://172.16.15.97:9092/';//李扬
|
|
this.serverUrl = 'http://172.16.15.97:9092/';//李扬
|
|
|
- this.serverUrl = 'http://172.16.15.91:9092/';//悍国
|
|
|
|
|
|
|
+ //this.serverUrl = 'http://172.16.15.91:9092/';//悍国
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
httpM: any;
|
|
httpM: any;
|
|
@@ -48,7 +48,7 @@ export default class HttpCommand {
|
|
|
connectTest(callback) {
|
|
connectTest(callback) {
|
|
|
GameController.commonData.ranKey = Utils.randomString()
|
|
GameController.commonData.ranKey = Utils.randomString()
|
|
|
let data = {
|
|
let data = {
|
|
|
- "mac": "a7:65:e2:1c:b0:26,f6:60:e4:1a:b7:27",
|
|
|
|
|
|
|
+ "mac": "a5:65:e2:1c:b0:26,f6:60:e4:1a:b7:27",
|
|
|
"psk": GameController.commonData.ranKey,
|
|
"psk": GameController.commonData.ranKey,
|
|
|
"appId": GameController.commonData.appid
|
|
"appId": GameController.commonData.appid
|
|
|
}
|
|
}
|
|
@@ -304,6 +304,18 @@ export default class HttpCommand {
|
|
|
this.httpM.sendRequest(HTTPTYPE.addItem, 'POST', str, callback);
|
|
this.httpM.sendRequest(HTTPTYPE.addItem, 'POST', str, callback);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ //--------------------------ZNH------------------------
|
|
|
|
|
+
|
|
|
|
|
+ /** 武将许愿
|
|
|
|
|
+ * @param callback 回调
|
|
|
|
|
+ */
|
|
|
|
|
+ prayGeneral(callback,data) {
|
|
|
|
|
+ this.sendData(HTTPTYPE.prayGeneral, data, callback);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ //--------------------------ZNH------------------------
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 获取邀请人uin
|
|
* 获取邀请人uin
|
|
|
* @param sendReport
|
|
* @param sendReport
|
|
@@ -413,6 +425,9 @@ export enum HTTPTYPE {
|
|
|
reduceTimeInvestProject = 'invest/reduceTimeInvestProject',
|
|
reduceTimeInvestProject = 'invest/reduceTimeInvestProject',
|
|
|
|
|
|
|
|
updateADLog = 'updateADLog',
|
|
updateADLog = 'updateADLog',
|
|
|
|
|
+ // ZNH
|
|
|
|
|
+ /** 武将许愿*/
|
|
|
|
|
+ prayGeneral = 'general/prayGeneral',
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|