Commit 01ca9a8e authored by wildfirecode's avatar wildfirecode

1

parent 27e06b4d
......@@ -1000,7 +1000,7 @@ export class NetManager extends ABNetManager {
this.send(net);
}
public hc_hasBackReward(callback: Function): void {
const d: any = { };
const d: any = { activityId: DataManager.ins.customCfgData.actId };
const net: INetData = {
name: 'hc_hasBackReward',
uri: window['duiba'] + '/customActivity/happyclear/hasBackReward',
......
......@@ -185,7 +185,7 @@ export default class MapScene extends Scene {
}
const { signInfoVO } = DataManager.ins.getData('getSignInfo');
if (signInfoVO.continueDay < 7) { //表示明天还可以签到
if (signInfoVO && signInfoVO.continueDay < 7) { //表示明天还可以签到
if (signInfoVO.todaySigned == 0 && oldTimerStr != nowTimerStr) {
panels.push('sign');
localStorage.setItem('nowTimerStr' + window['CFG'].consumerId, nowTimerStr);
......@@ -439,7 +439,7 @@ export default class MapScene extends Scene {
updateSign() {
const { signInfoVO } = DataManager.ins.getData('getSignInfo');
if (signInfoVO.continueDay < 7) { //表示明天还可以签到
if (signInfoVO&&signInfoVO.continueDay < 7) { //表示明天还可以签到
this['sign_s1'].visible = signInfoVO.todaySigned == 0;
this['sign_s2'].visible = !this['sign_s1'].visible;
} else {
......
{
"code":"0000000000",
"data":1,
"data":{
"appItemId":2322,
"categoryType":2,
"coinType":1,
"img":"1",
"maxValue":2,
"minValue":1,
"name":"测试商品",
"num":3,
"propType":2,
"rate":"概率",
"title":"商品信息",
"value":"虚拟商品标识符"
},
"desc":"OK",
"success":1,
"success":true,
"timestamp":1572079274940
}
\ No newline at end of file
{
"code":"0000000000",
"data":null,
"desc":"OK",
"success":1,
"timestamp":1572079274940
"success": 1,
"code": "600074",
"desc": "用户未达到回归奖励领取条件",
"timestamp": 1578472496421,
"data": null
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment