update method of operation record

This commit is contained in:
Granty1
2020-07-05 14:45:05 +08:00
parent 9a582877ea
commit 783e355501
15 changed files with 81 additions and 86 deletions

View File

@@ -16,7 +16,6 @@ func Routers() *gin.Engine {
var Router = gin.Default()
// Router.Use(middleware.LoadTls()) // 打开就能玩https了
global.GVA_LOG.Debug("use middleware logger")
Router.Use(middleware.RecordRequestBody(), middleware.OperationRecord())
// 跨域
Router.Use(middleware.Cors())
global.GVA_LOG.Debug("use middleware cors")