调整日期选择框大小,修改定时器为每天执行

This commit is contained in:
wsczx 2022-10-16 23:31:20 +08:00
parent 812eb587bb
commit 3dbc369e6b
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,6 @@ func Start() {
s := gocron.NewScheduler(time.Local)
s.Cron("0 * * * *").Do(ClearAudit)
s.Cron("0 * * * *").Do(ClearStatsInfo)
s.Every("1s").Do(sessdata.CloseUserLimittimeSession)
s.Every(1).Day().At("00:00").Do(sessdata.CloseUserLimittimeSession)
s.StartAsync()
}

View File

@ -189,6 +189,7 @@
type="date"
size="small"
align="center"
style="width:130px"
placeholder="选择日期">
</el-date-picker>
</el-form-item>