Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-operation-api
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-operation-api
Commits
8b8822c7
Commit
8b8822c7
authored
Jan 26, 2024
by
Bright1996
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户行为审计调整
parent
1cfccb42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/bean/vo/response/log_management.go
src/bean/vo/response/log_management.go
+1
-0
src/service/log_management.go
src/service/log_management.go
+1
-0
No files found.
src/bean/vo/response/log_management.go
View file @
8b8822c7
...
...
@@ -10,6 +10,7 @@ type LogManagementRep struct {
Name
string
`json:"name"`
// 所属组织名称
SystemAccount
string
`json:"system_account" xorm:"system_account"`
// 系统账号
Phone
string
`json:"phone" xorm:"phone"`
// 联系人电话
ContactPhone
string
`json:"contact_phone" xorm:"contact_phone"`
//IsAdmin string `json:"is_admin" xorm:"is_admin"` // 用户类型 (1.业务系统账号 2.组织管理员账号 3.平台用户账号 4.超级管理员)
LastAccessTimes
jsontime
.
Time
`json:"-" xorm:"last_access_time"`
// 用户最后访问时间
LastAccessTime
jsontime
.
Time
`json:"last_access_time" xorm:"-"`
// 用户最后访问时间
...
...
src/service/log_management.go
View file @
8b8822c7
...
...
@@ -295,6 +295,7 @@ func (s *LogManagement) LogUserAccountAuditList(params *request.LogManagementLis
active
:=
getActivity
(
time
.
Time
(
logManagementRep
[
k
]
.
LastAccessTimes
))
logManagementRep
[
k
]
.
Active
=
active
logManagementRep
[
k
]
.
LastAccessTime
=
logManagementRep
[
k
]
.
LastAccessTimes
logManagementRep
[
k
]
.
ContactPhone
=
logManagementRep
[
k
]
.
Phone
}
return
logManagementRep
,
count
,
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment