Commit 196a7748 authored by wildfirecode13's avatar wildfirecode13

1

parent 86d5eeae
...@@ -54,8 +54,8 @@ Component({ ...@@ -54,8 +54,8 @@ Component({
my.showLoading(); my.showLoading();
flag = 1; flag = 1;
const { item } = e.target.dataset; const { item } = e.target.dataset;
const { taskType } = item; const { taskType,sellerId } = item;
const { success, data, message } = await API.receiveTaskRewards({ taskType }).catch(res => { const { success, data, message } = await API.receiveTaskRewards({ taskType,sellerId }).catch(res => {
commonToast(res && res.message); commonToast(res && res.message);
}) || {}; }) || {};
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