package main import ( _ "XT_New/routers" "XT_New/service" "github.com/astaxie/beego" ) func init() { service.ConnectDB() } func main() { //service.NewAutoCreateWeekSchedules() //service.BeginAutoCreateWeekDisinfectionJob() //service.BeginAutoCreatePlanJob() //service.AutoClearSchedules() //service.BeginAutoCreateStaffScheduleJob() //service.BeginAutoCreateDrugJob() //service.BeginAutoCreateStockJob() //beego.BConfig.WebConfig.Session.SessionGCMaxLifetime = 6000 //beego.BConfig.WebConfig.AutoRender = false // //fmt.Println(0 % 4) //fmt.Println(1 % 4) //fmt.Println(2 % 4) //fmt.Println(3 % 4) //fmt.Println(4 % 4) //fmt.Println(5 % 4) //fmt.Println(6 % 4) //fmt.Println(7 % 4) beego.Run() }