1
This commit is contained in:
@@ -58,7 +58,7 @@ class TaskHandlers {
|
|||||||
const job_types = db.getModel('job_types');
|
const job_types = db.getModel('job_types');
|
||||||
const apply_records = db.getModel('apply_records');
|
const apply_records = db.getModel('apply_records');
|
||||||
const Sequelize = require('sequelize');
|
const Sequelize = require('sequelize');
|
||||||
const { op } = Sequelize;
|
const { Op } = Sequelize;
|
||||||
|
|
||||||
// 检查今日投递次数限制
|
// 检查今日投递次数限制
|
||||||
const currentPlatform = platform || 'boss';
|
const currentPlatform = platform || 'boss';
|
||||||
@@ -74,7 +74,7 @@ class TaskHandlers {
|
|||||||
sn_code: sn_code,
|
sn_code: sn_code,
|
||||||
platform: currentPlatform,
|
platform: currentPlatform,
|
||||||
applyTime: {
|
applyTime: {
|
||||||
[op.gte]: today
|
[Op.gte]: today
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user