Commit 8f235efe authored by wildfirecode13's avatar wildfirecode13

11

parent 0e8b37f6
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
{ {
"completeTimes": 0, "completeTimes": 0,
"rewards": 1, "rewards": 1,
"status": 3, "status": 2,
"taskRateType": 2, "taskRateType": 2,
"taskType": "sign", "taskType": "sign",
"times": 1, "times": 1,
...@@ -16,25 +16,25 @@ ...@@ -16,25 +16,25 @@
"completeTimes": 0, "completeTimes": 0,
"rewards": 10, "rewards": 10,
"sellerId": "oooo", "sellerId": "oooo",
"status":3, "status":2,
"taskRateType": 1, "taskRateType": 1,
"taskType": "follow", "taskType": "follow",
"title": "关注店铺" "title": "关注店铺1"
}, },
{ {
"completeTimes": 0, "completeTimes": 0,
"rewards": 10, "rewards": 10,
"sellerId": "wwwww", "sellerId": "wwwww",
"status":3, "status":2,
"taskRateType": 1, "taskRateType": 1,
"taskType": "follow", "taskType": "follow",
"title": "关注店铺" "title": "关注店铺2"
}, },
{ {
"completeTimes": 0, "completeTimes": 0,
"itemIds": "", "itemIds": "",
"rewards": "2", "rewards": "2",
"status":3, "status":2,
"taskRateType": 2, "taskRateType": 2,
"taskType": "browseGoods", "taskType": "browseGoods",
"times": 1, "times": 1,
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
{ {
"completeTimes": 0, "completeTimes": 0,
"rewards": "1", "rewards": "1",
"status": 3, "status": 2,
"taskRateType": 1, "taskRateType": 1,
"taskType": "invites", "taskType": "invites",
"times": 3, "times": 3,
......
...@@ -61,6 +61,7 @@ Component({ ...@@ -61,6 +61,7 @@ Component({
if (success && data) { if (success && data) {
commonToast('领取成功~'); commonToast('领取成功~');
} }
my.__updateUserInfo__();
await this.getTaskList() await this.getTaskList()
flag = 0; flag = 0;
}, },
......
...@@ -37,6 +37,7 @@ Page({ ...@@ -37,6 +37,7 @@ Page({
const { success, data, message } = await API.exchangeGood(params).catch(res => { const { success, data, message } = await API.exchangeGood(params).catch(res => {
commonToast(res && res.message); commonToast(res && res.message);
}) || {}; }) || {};
my.__updateUserInfo__();
my.hideLoading(); my.hideLoading();
if (success && data) { if (success && data) {
......
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