|
|
@@ -24,7 +24,7 @@ export default class HttpCommand {
|
|
|
this.serverUrl = 'https://xiyou-test.duiweize.com/';
|
|
|
}
|
|
|
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;
|
|
|
@@ -48,7 +48,7 @@ export default class HttpCommand {
|
|
|
connectTest(callback) {
|
|
|
GameController.commonData.ranKey = Utils.randomString()
|
|
|
let data = {
|
|
|
- "mac": "a5:65:e2:1c:b0:26,f6:60:e4:1a:b7:27",
|
|
|
+ "mac": "a5:65:e2:1c:b0:25,f6:60:e4:1a:b7:27",
|
|
|
"psk": GameController.commonData.ranKey,
|
|
|
"appId": GameController.commonData.appid
|
|
|
}
|
|
|
@@ -289,6 +289,18 @@ export default class HttpCommand {
|
|
|
this.httpM.sendRequest(HTTPTYPE.addItem, 'POST', str, callback);
|
|
|
}
|
|
|
|
|
|
+ //--------------------------ZNH------------------------
|
|
|
+
|
|
|
+ /** 武将许愿
|
|
|
+ * @param callback 回调
|
|
|
+ */
|
|
|
+ prayGeneral(callback,data) {
|
|
|
+ this.sendData(HTTPTYPE.prayGeneral, data, callback);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ //--------------------------ZNH------------------------
|
|
|
+
|
|
|
/**
|
|
|
* 获取邀请人uin
|
|
|
* @param sendReport
|
|
|
@@ -397,6 +409,9 @@ export enum HTTPTYPE {
|
|
|
reduceTimeInvestProject = 'invest/reduceTimeInvestProject',
|
|
|
|
|
|
updateADLog = 'updateADLog',
|
|
|
+ // ZNH
|
|
|
+ /** 武将许愿*/
|
|
|
+ prayGeneral = 'general/prayGeneral',
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -406,6 +421,6 @@ export interface UpdatePlayerProps {
|
|
|
proptype: number, //需要更新的属性
|
|
|
propvalue: number, //更新后的属性
|
|
|
|
|
|
- propType:number,//服务器不根据文档改字段名字,仅用于发送给服务器
|
|
|
- propValue:number,//服务器不根据文档改字段名字,仅用于发送给服务器
|
|
|
+ propType: number,//服务器不根据文档改字段名字,仅用于发送给服务器
|
|
|
+ propValue: number,//服务器不根据文档改字段名字,仅用于发送给服务器
|
|
|
}
|