修改自动安装
This commit is contained in:
8
main.go
8
main.go
@@ -1,9 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/PPGo_Job/models"
|
||||
_ "github.com/PPGo_Job/routers"
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/george518/PPGo_Job/controllers"
|
||||
"github.com/george518/PPGo_Job/jobs"
|
||||
_ "github.com/george518/PPGo_Job/mail"
|
||||
"github.com/george518/PPGo_Job/models"
|
||||
_ "github.com/george518/PPGo_Job/routers"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -13,6 +16,7 @@ const (
|
||||
func init() {
|
||||
//初始化数据模型
|
||||
models.Init()
|
||||
jobs.InitJobs()
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user