Merge branch 'feature/huangqijiuguan' into dev

This commit is contained in:
xichaoyin 2024-01-10 21:57:23 +08:00
commit b41076023a

View File

@ -9,7 +9,7 @@ export default async function (call: ApiCall<ReqGiftSelect, ResGiftSelect>) {
return call.error('', { code: -1, message: globalThis.lng.huodong_open_1 }) 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) { if (!gift || !gift.dlz) {
return call.error('', { code: -1, message: globalThis.lng.huodong_open_1 }) return call.error('', { code: -1, message: globalThis.lng.huodong_open_1 })
} }