修改用户信息接口获取抽奖券的条件

This commit is contained in:
zhl 2021-06-08 20:14:09 +08:00
parent b299d0fd37
commit 0a6cec4975

View File

@ -81,7 +81,7 @@ class GameUserController extends BaseController {
throw new ZError(11, '无法找到对应店铺')
}
let result: any = {}
result.tocket_lottery = await UserItem.fetchCount({ accountId, shop: sid, item: LOTTERY_TICKET })
result.tocket_lottery = await UserItem.fetchCount({ accountId, shop: shop.id, item: LOTTERY_TICKET })
return result
}