fix: 登录退出记录日志,状态为1

This commit is contained in:
TsMask
2023-10-20 19:01:38 +08:00
parent 0633f38ca0
commit 98132899a2

View File

@@ -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,
)
}