fix: 系统用户信息修改导致Sex/Password字段为空

This commit is contained in:
TsMask
2024-10-15 11:43:35 +08:00
parent 873dadf014
commit 065895e1d2
7 changed files with 224 additions and 230 deletions

View File

@@ -22,7 +22,7 @@ import (
// 实例化控制层 SysLogLoginController 结构体
var NewSysLogLogin = &SysLogLoginController{
sysLogLoginService: service.NewSysLogLoginImpl,
accountService: commonService.NewAccountImpl,
accountService: commonService.NewAccount,
}
// 系统登录日志信息
@@ -31,8 +31,7 @@ var NewSysLogLogin = &SysLogLoginController{
type SysLogLoginController struct {
// 系统登录日志服务
sysLogLoginService service.ISysLogLogin
// 账号身份操作服务
accountService commonService.IAccount
accountService *commonService.Account // 账号身份操作服务
}
// 系统登录日志列表