Commit 21158fb6 authored by 邱旭's avatar 邱旭

1

parent f2c13f60
......@@ -122,11 +122,13 @@ export default class Turntable extends Panel {
const data = res.data;
const code = res.code;
let id = data.option.categoryType;
let id;
if(!success || !data.option) {
id = "thanks";
} else if(data.isScratchCard) {
id = "scratch";
}else {
id = data.option.categoryType;
}
this.rotateByPrize(id, () => {
if(!success) {
......
{
"code":"600015",
"data":{
"isScratchCard":false,
"option":{
"completePercent":"99",
"prizeImage":"",
"remainPercent":"剩余进度",
"scratchCardTaskId":1,
"categoryType":4,
"title":"奖品信息",
"coinType":1,
"maxValue":10,
"minValue":10,
"appItemId":2099,
"img":"http://yun.duiba.com.cn/db_games/1022/111.png",
"name":"虚拟商品名称",
"value":"虚拟商品编码",
"num":10,
"propType":1
},
"orderNum":"24487583"
},
"desc":"OK",
"success":true,
"timestamp":1572061348762
"success": true,
"code": "0000000000",
"desc": "OK",
"timestamp": 1572262646931,
"data": {
"isScratchCard": false,
"option": null,
"orderNum": 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