Merge branch 'bugfix' into dev

This commit is contained in:
dy 2023-12-27 10:23:57 +08:00
commit 9a5cc99fb1

View File

@ -829,7 +829,7 @@ export class HuoDongHongDianFun {
static async zixuanlibaoHongDian(call: ApiCall, hdCon: ReqAddHuoDong): Promise<hongdianVal> {
let _dbType: `zixuanlibao${number}` = `zixuanlibao${hdCon.hdid}`
let db = await G.mongodb.cEvent(_dbType).findOne({uid: call.uid, type: _dbType});
if (!db?.record?.[0]) {
if (!db?.rec) {
return {show: true}
}