feat:黄旗酒馆

This commit is contained in:
xichaoyin 2024-01-11 18:00:45 +08:00
parent 86fbc457f8
commit 561954de17

View File

@ -330,6 +330,10 @@ export default class HQJGFun {
if (!hd) return if (!hd) return
let today = this.today(hd); let today = this.today(hd);
let tasks = hd.data.task[`day${today}`];
if (!tasks) return
await this.getMydata(call, hd.hdid) await this.getMydata(call, hd.hdid)
let isset = 0; let isset = 0;
@ -337,7 +341,7 @@ export default class HQJGFun {
$inc: {}, $inc: {},
$set: {} $set: {}
}; };
let tasks = hd.data.task[`day${today}`];
for (let taskid of Object.keys(tasks)) { for (let taskid of Object.keys(tasks)) {
let taskCon = tasks[taskid]; let taskCon = tasks[taskid];
if (taskCon.stype != stype) continue if (taskCon.stype != stype) continue