Commit ff25716c authored by wildfirecode's avatar wildfirecode

1

parents d82d657f dca2340c
...@@ -81,7 +81,7 @@ export default class ScratchIcon extends IconBase { ...@@ -81,7 +81,7 @@ export default class ScratchIcon extends IconBase {
// PanelCtrl.instance.show('scratch', res.data); // PanelCtrl.instance.show('scratch', res.data);
break; break;
case (status == 2): // 当前任务完成待领奖 请求领奖接口 case (status == 2): // 当前任务完成待领奖 请求领奖接口
NetManager.ins.scratchTakePrize((success, res) => { NetManager.ins.scratchTakePrize((success) => {
if(!success) { if(!success) {
return; return;
} }
......
...@@ -2,24 +2,14 @@ ...@@ -2,24 +2,14 @@
"success": true, "success": true,
"code": "0000000000", "code": "0000000000",
"desc": "OK", "desc": "OK",
"timestamp": 1572269035379, "timestamp": 1572327888728,
"data": { "data": {
"isScratchCard": false, "isScratchCard": true,
"option": { "option": {
"id": "", "scratchCardTaskId": 7,
"day": null, "prizeImage": "//yun.dui88.com/images/201910/e6pmpk2pne.png",
"categoryType": 3, "completePercent": "8",
"title": "11", "remainPercent": null
"rate": "11",
"minValue": null,
"maxValue": null,
"coinType": null,
"propType": 2,
"num": null,
"img": "",
"appItemId": null,
"name": "",
"value": ""
}, },
"orderNum": null "orderNum": null
} }
......
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