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