v2版本正式上线测试版

This commit is contained in:
george
2018-07-13 17:53:34 +08:00
parent 092ecf605b
commit 7bbe5585d8
661 changed files with 40153 additions and 2053 deletions

23
V1/main.go Normal file
View File

@@ -0,0 +1,23 @@
package main
import (
"github.com/astaxie/beego"
"github.com/george518/PPGo_Job/models"
_ "github.com/george518/PPGo_Job/routers"
"github.com/george518/PPGo_Job/jobs"
)
const (
VERSION = "1.0.0"
)
func init() {
//初始化数据模型
models.Init()
jobs.InitJobs()
}
func main() {
beego.BConfig.WebConfig.Session.SessionOn = true
beego.Run()
}