mirror of
				https://github.com/kongyuebin1/dongfeng-pay.git
				synced 2025-11-01 02:57:33 +08:00 
			
		
		
		
	代理后台beego升级到v2.0版本
This commit is contained in:
		| @@ -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() | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user