@@ -26,6 +26,7 @@ func main() {
// 异常处理
web.ErrorController(&controllers.ErrorController{})
+ web.BConfig.MaxMemory = 1024 * 1024 * 128
web.BConfig.RecoverFunc = Recover
web.Run()
}