Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-group
Commits
f25299ec
Commit
f25299ec
authored
Aug 28, 2023
by
JiebinHu
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉最近访问的人 todo
parent
9ab90200
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
room.go
domain/model/group_m/room.go
+1
-0
No files found.
domain/model/group_m/room.go
View file @
f25299ec
...
@@ -424,6 +424,7 @@ func GetRoomMicUsers(model *domain.Model, groupIds []string) (map[string][]uint6
...
@@ -424,6 +424,7 @@ func GetRoomMicUsers(model *domain.Model, groupIds []string) (map[string][]uint6
// 批量查询房间最近N天的访问人数。使用二级缓存
// 批量查询房间最近N天的访问人数。使用二级缓存
func
BatchGetRoomVisitCount
(
logE
*
logrus
.
Entry
,
groupIds
[]
string
)
(
map
[
string
]
int64
,
error
)
{
func
BatchGetRoomVisitCount
(
logE
*
logrus
.
Entry
,
groupIds
[]
string
)
(
map
[
string
]
int64
,
error
)
{
return
make
(
map
[
string
]
int64
),
nil
// todo
//roomVisitCount, err := redis.GetAllRoomVisitCount()
//roomVisitCount, err := redis.GetAllRoomVisitCount()
roomVisitCount
,
err
:=
room_c
.
MGetRoomVisitCount
(
groupIds
)
roomVisitCount
,
err
:=
room_c
.
MGetRoomVisitCount
(
groupIds
)
if
err
!=
nil
{
if
err
!=
nil
{
...
...
hujiebin
@hujiebin
mentioned in commit
81c74802
·
Aug 28, 2023
mentioned in commit
81c74802
mentioned in commit 81c748025e13ccffff2673a20be802917727e4ea
Toggle commit list
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