Merge branch 'feature/huangqijiuguan' into dev
This commit is contained in:
commit
b41076023a
@ -9,7 +9,7 @@ export default async function (call: ApiCall<ReqGiftSelect, ResGiftSelect>) {
|
||||
return call.error('', { code: -1, message: globalThis.lng.huodong_open_1 })
|
||||
}
|
||||
|
||||
let gift = hd.data.gift[call.req.giftid];
|
||||
let gift = hd.data.gift.filter(i => i.id == call.req.giftid)[0];
|
||||
if (!gift || !gift.dlz) {
|
||||
return call.error('', { code: -1, message: globalThis.lng.huodong_open_1 })
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user