This commit is contained in:
郝大全
2018-07-03 00:38:31 +08:00
parent e6f96cd36c
commit b34de685b8
570 changed files with 33780 additions and 10 deletions

29
V2/main.go Normal file
View File

@@ -0,0 +1,29 @@
/************************************************************
** @Description: PPGo_Job2
** @Author: haodaquan
** @Date: 2018-06-05 22:24
** @Last Modified by: haodaquan
** @Last Modified time: 2018-06-05 22:24
*************************************************************/
package main
import (
"github.com/astaxie/beego"
"github.com/george518/PPGo_Job2/models"
_ "github.com/george518/PPGo_Job2/routers"
)
const (
VERSION = "1.0.0"
)
func init() {
//初始化数据模型
models.Init()
//jobs.InitJobs()
}
func main() {
beego.BConfig.WebConfig.Session.SessionOn = true
beego.Run()
}