Commit 85cf7a5a authored by 慕轻风's avatar 慕轻风

奖品领取_id更改id

parent 331d796d
......@@ -134,7 +134,7 @@ Page({
provice: provinceName,
area: countyName,
streetName,
_id: item._id
id: item._id
}
my.confirm({
......@@ -183,7 +183,7 @@ Page({
const { activityId } = app;
const { item } = e.target.dataset;
console.log(item, '领取积分')
const { success, data, message } = await API.receiveEnamePrize({ activityId, _id: item._id }) || {};
const { success, data, message } = await API.receiveEnamePrize({ activityId, id: item._id }) || {};
if (success && data) {
commonToast('领取成功')
} else {
......
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