fix: 登录退出记录日志,状态为1
This commit is contained in:
@@ -134,7 +134,7 @@ func (s *AccountController) Logout(c *gin.Context) {
|
||||
os, browser := ctxUtils.UaOsBrowser(c)
|
||||
// 创建系统访问记录
|
||||
s.sysLogLoginService.NewSysLogLogin(
|
||||
userName, commonConstants.STATUS_NO, "退出成功",
|
||||
userName, commonConstants.STATUS_YES, "退出成功",
|
||||
ipaddr, location, os, browser,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user