修改更新日志清除评率

This commit is contained in:
whyour 2022-09-24 13:59:56 +08:00
parent c0b5192296
commit 44e2caedfc

View File

@ -70,9 +70,8 @@ export default class SystemService {
};
await this.scheduleService.cancelIntervalTask(cron);
if (frequency > 0) {
await this.scheduleService.createIntervalTask(cron, {
this.scheduleService.createIntervalTask(cron, {
days: frequency,
runImmediately: true,
});
}
return { code: 200, data: { ...cron } };