修改用户信息接口获取抽奖券的条件
This commit is contained in:
parent
b299d0fd37
commit
0a6cec4975
@ -81,7 +81,7 @@ class GameUserController extends BaseController {
|
|||||||
throw new ZError(11, '无法找到对应店铺')
|
throw new ZError(11, '无法找到对应店铺')
|
||||||
}
|
}
|
||||||
let result: any = {}
|
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
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user