fix 元旦红点

This commit is contained in:
dy 2023-12-27 18:50:36 +08:00
parent 53a2becac5
commit 837e9b58c8
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ export class Yuandanfun {
exchange: {},
taskfinish: [],
taskval: await this.getTaskVal(call),
qiandaoTime: data?.qiandaoTime || 0,
refreshTime: G.time
},
}, {upsert: true, returnDocument: 'after'})).value

View File

@ -413,7 +413,7 @@ export class HuoDongHongDianFun {
if (data?.gameNum < _hd.data.gamefree) return {show: true}
if (!PublicShared.chkSameDate(data.qiandaoTime || 0, G.time)) {
if (!PublicShared.chkSameDate(data?.qiandaoTime || 0, G.time)) {
return {show: true}
}