mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-12-24 19:02:24 +08:00
代理后台beego升级到v2.0版本
This commit is contained in:
parent
4032d98ce1
commit
cc55140103
@ -3,11 +3,11 @@ package main
|
||||
import (
|
||||
_ "agent/models"
|
||||
_ "agent/routers"
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
"github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
func main() {
|
||||
beego.BConfig.WebConfig.Session.SessionOn = true
|
||||
beego.Run()
|
||||
web.BConfig.WebConfig.Session.SessionOn = true
|
||||
web.Run()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user