feat:黄旗酒馆
This commit is contained in:
parent
206e87d64c
commit
6f7eab1701
@ -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 })
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user