调整
This commit is contained in:
parent
94a69cbcb5
commit
c9e1c22c44
@ -7,7 +7,6 @@ import (
|
||||
"f5"
|
||||
"io"
|
||||
"main/common"
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
@ -68,10 +67,7 @@ func ActLog(c *gin.Context) bool {
|
||||
}
|
||||
}
|
||||
if err := f5.GetApp().GetOrmDb(constant.ADMIN_DB).Table("t_op_log").Create(info).Error; err != nil {
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"code": 1,
|
||||
"message": err.Error(),
|
||||
})
|
||||
f5.GetSysLog().Error("!!!!!!!record op_log error:%s, %s, %s", info.Account, info.URL, info.Params)
|
||||
}
|
||||
|
||||
return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user