12345678910111213141516171819202122232425 |
- package main
-
- import (
- _ "XT_New/routers"
- "XT_New/service"
- "github.com/astaxie/beego"
- )
-
- func init() {
- service.ConnectDB()
- }
-
- func main() {
- //service.BeginAutoCreateWeekSchedulesJob()
- //service.BeginAutoCreateWeekDisinfectionJob()
- //service.BeginAutoCreatePlanJob()
- //service.AutoClearSchedules()
- //service.BeginAutoCreateStaffScheduleJob()
- //service.BeginAutoCreateDrugJob()
- //service.BeginAutoCreateStockJob()
-
- //beego.BConfig.WebConfig.Session.SessionGCMaxLifetime = 6000
- beego.Run()
- }
|