Browse Source

fix:禁用beego tpl

zqbao 9 months ago
parent
commit
3dfc3b8fd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -22,7 +22,7 @@ func main() {
 
 	// 启动定时任务
 	go scheduler.InitJob()
-
+	web.BConfig.WebConfig.AutoRender = false
 	web.ErrorController(&controllers.ErrorController{})
 	// 内存调整
 	web.BConfig.MaxMemory = 1024 * 1024 * 128