Commit a1d2fb41 authored by wjf's avatar wjf

l

parent 48e001dc
......@@ -2,121 +2,117 @@
"code": "000000",
"data": [
{
"switchStock": 1,
"image": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01c4rCs11wMhRrsjEep_!!2275046294-2-miniprogram.png",
"switchStock": 2,
"isBackUp": false,
"properiodto": 1600,
"level": 1,
"probability": "16",
"openId": "AAFwCvE-ALiIWXYsJuTQVRpH",
"prizeType": 60,
"updateTime": 1594623032191,
"openId": "AAEaCvE-ALiIWXQsJuac30pr",
"type": 3,
"properiodfrom": 1,
"activityId": "5f08084ec3ad3494b9201c0e",
"ename": "",
"activityId": "5f213ff79897b44ce1d2925d",
"lockStatus": 1,
"credits": "",
"createTime": 1594361933509,
"deleteStatus": 1,
"name": "60关奖品3",
"useStock": 1,
"rank": "",
"_id": "123",
"startTime": "",
"id": "",
"stock": 200
},
{
"image": "https://source.unsplash.com/user/erondu/80x80",
"isBackUp": true,
"properiodto": 10000,
"level": 2,
"probability": "84",
"prizeType": 60,
"updateTime": 1594623032197,
"type": 5,
"properiodfrom": 1601,
"activityId": "5f08084ec3ad3494b9201c0e",
"lockStatus": 1,
"createTime": 1594623032197,
"deleteStatus": 1,
"name": "谢谢参与",
"stock": "",
"image": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01Zzj1FL1wMhS845iJp_!!2275046294-2-miniprogram.png",
"properiodto": 5000,
"amount": "",
"level": 1,
"probability": "50",
"prizeType": 10,
"updateTime": 1596078351399,
"ename": "",
"createTime": 1596014583758,
"name": "实物1实物1实物1实",
"useStock": 0,
"_id": "456"
"_id": "5f213ff7738989c8b3f46f4b",
"endTime": ""
},
{
"image": "https://source.unsplash.com/user/erondu/90x90",
"isBackUp": true,
"properiodto": 10000,
"level": 2,
"probability": "84",
"prizeType": 60,
"updateTime": 1594623032197,
"type": 5,
"properiodfrom": 1601,
"activityId": "5f08084ec3ad3494b9201c0e",
"switchStock": 2,
"isBackUp": false,
"openId": "AAEaCvE-ALiIWXQsJuac30pr",
"type": 1,
"properiodfrom": 5001,
"activityId": "5f213ff79897b44ce1d2925d",
"lockStatus": 1,
"createTime": 1594623032197,
"credits": "",
"deleteStatus": 1,
"name": "谢谢参与",
"useStock": 0,
"_id": "789"
},
{
"image": "https://source.unsplash.com/user/erondu/100x100",
"isBackUp": true,
"rank": "",
"startTime": 1593475200000,
"id": "",
"stock": "",
"image": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01fcO2aS1wMhS2wKUZO_!!2275046294-0-miniprogram.jpg",
"amount": "1",
"properiodto": 10000,
"level": 2,
"probability": "84",
"prizeType": 60,
"updateTime": 1594623032197,
"type": 5,
"properiodfrom": 1601,
"activityId": "5f08084ec3ad3494b9201c0e",
"lockStatus": 1,
"createTime": 1594623032197,
"deleteStatus": 1,
"name": "谢谢参与",
"probability": "50",
"prizeType": 10,
"updateTime": 1596078351410,
"ename": "18c738e4b1de4de3b481885b0d5e0936",
"createTime": 1596014583758,
"name": "优惠券1",
"useStock": 0,
"_id": "1213"
"_id": "5f213ff7738989c8b3f46f4c",
"endTime": 1596239999000
},
{
"image": "https://source.unsplash.com/user/erondu/110x110",
"isBackUp": true,
"properiodto": 10000,
"level": 2,
"probability": "84",
"prizeType": 60,
"updateTime": 1594623032197,
"type": 5,
"properiodfrom": 1601,
"activityId": "5f08084ec3ad3494b9201c0e",
"switchStock": 2,
"isBackUp": false,
"openId": "AAEaCvE-ALiIWXQsJuac30pr",
"type": 3,
"properiodfrom": 10001,
"activityId": "5f213ff79897b44ce1d2925d",
"lockStatus": 1,
"createTime": 1594623032197,
"credits": "",
"deleteStatus": 1,
"name": "谢谢参与",
"rank": "",
"startTime": "",
"id": "",
"stock": "",
"image": "https://img.alicdn.com/imgextra/i4/2275046294/O1CN01avEmL01wMhS5Wxd63_!!2275046294-2-miniprogram.png",
"properiodto": 10000,
"amount": "",
"level": 3,
"probability": "0",
"prizeType": 10,
"updateTime": 1596078351423,
"ename": "",
"createTime": 1596014583758,
"name": "实物11",
"useStock": 0,
"_id": "9898"
"_id": "5f213ff7738989c8b3f46f4d",
"endTime": ""
},
{
"image": "https://source.unsplash.com/user/erondu/120x120",
"isBackUp": true,
"properiodto": 10000,
"level": 2,
"probability": "84",
"prizeType": 60,
"updateTime": 1594623032197,
"type": 5,
"properiodfrom": 1601,
"activityId": "5f08084ec3ad3494b9201c0e",
"switchStock": 2,
"isBackUp": false,
"type": 3,
"properiodfrom": 10001,
"activityId": "5f213ff79897b44ce1d2925d",
"lockStatus": 1,
"createTime": 1594623032197,
"credits": "",
"deleteStatus": 1,
"name": "谢谢参与",
"rank": "",
"startTime": "",
"id": "",
"stock": "",
"image": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN01KWxBt41wMhS7Oiham_!!2275046294-2-miniprogram.png",
"properiodto": 10000,
"amount": "",
"level": 4,
"probability": "0",
"prizeType": 10,
"updateTime": 1596078351428,
"ename": "",
"createTime": 1596078351428,
"name": "实物测试名称过长的啦",
"useStock": 0,
"_id": "9654"
"_id": "5f22390fe5c0d7361f1e6b59",
"endTime": ""
}
],
"success": true,
"message": "成功"
}
\ No newline at end of file
}
\ No newline at end of file
{
"code": "000000",
"data": {
"image": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01TrcMYF1wMhRuCphHI_!!2275046294-2-miniprogram.png",
"level": 90,
"image": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01Zzj1FL1wMhS845iJp_!!2275046294-2-miniprogram.png",
"amount": "",
"level": 10,
"drawStatus": 1,
"openId": "AAHuCvE-ALiIWXYsJuTb5S4W",
"createDay": "2020/07/14",
"avatar": "sdfwerwerwer",
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"createDay": "2020/07/30",
"avatar": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFvSvGH0XmQGOFNWMCQyP08yX8cYPFgLXH*IXFMHvHcT&width=80&height=80&type=sns",
"type": 3,
"prizeId": "5f08084e0cb7338a0a377c8d",
"activityId": "5f08084ec3ad3494b9201c0e",
"prizeId": "5f213ff7738989c8b3f46f4b",
"activityId": "5f213ff79897b44ce1d2925d",
"ename": "",
"userNick": "wmmmmm",
"name": "90关奖品4",
"_id": "123"
"userNick": "lpf468169313",
"name": "实物1实物1实物1实",
"_id": "AAFgCvE-ALiIWXYsJuSLKdVt1596078979091"
},
"success": true,
"message": "成功"
}
\ No newline at end of file
}
\ No newline at end of file
......@@ -91,7 +91,7 @@ export class LotteryScene extends Scene {
//如果是失败
if (!res.success) return;
let id;
if (res.data && res.data._id) id = res.data._id;
if (res.data && res.data.prizeId) id = res.data.prizeId;
this.enableMouseEvt(false);
this.lotScroll.lot(id, () => {
this.enableMouseEvt(true)
......
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