mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 12:24:30 +08:00
调整日期选择框大小,修改定时器为每天执行
This commit is contained in:
@@ -11,6 +11,6 @@ func Start() {
|
|||||||
s := gocron.NewScheduler(time.Local)
|
s := gocron.NewScheduler(time.Local)
|
||||||
s.Cron("0 * * * *").Do(ClearAudit)
|
s.Cron("0 * * * *").Do(ClearAudit)
|
||||||
s.Cron("0 * * * *").Do(ClearStatsInfo)
|
s.Cron("0 * * * *").Do(ClearStatsInfo)
|
||||||
s.Every("1s").Do(sessdata.CloseUserLimittimeSession)
|
s.Every(1).Day().At("00:00").Do(sessdata.CloseUserLimittimeSession)
|
||||||
s.StartAsync()
|
s.StartAsync()
|
||||||
}
|
}
|
||||||
|
@@ -189,6 +189,7 @@
|
|||||||
type="date"
|
type="date"
|
||||||
size="small"
|
size="small"
|
||||||
align="center"
|
align="center"
|
||||||
|
style="width:130px"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
Reference in New Issue
Block a user