完善uniapp
This commit is contained in:
@@ -32,10 +32,8 @@ func init() {
|
||||
}
|
||||
})
|
||||
|
||||
// 全局操作日志:请求开始采集
|
||||
// 全局操作日志:请求开始采集并异步写入
|
||||
beego.InsertFilter("*", beego.BeforeRouter, middleware.BeginOperationLog)
|
||||
// 全局操作日志:请求结束统一落库
|
||||
beego.InsertFilter("*", beego.FinishRouter, middleware.FinishOperationLog)
|
||||
|
||||
// 根据运行模式选择要注册的路由组
|
||||
// 优先读取环境变量 APP_MODE,其次读取配置 app_mode,默认 all
|
||||
|
||||
Reference in New Issue
Block a user