修改普通用户分享资产时只能查看到普通用户 close #133
This commit is contained in:
1 parent
696c219c24
commit
f8c29b23b9
2 files changed
+11
-2
No files matched your search
+2
-1
@@ -49,7 +49,8 @@ func UserPagingEndpoint(c echo.Context) error {
|
||||
order := c.QueryParam("order")
|
||||
field := c.QueryParam("field")
|
||||
|
||||
items, total, err := userRepository.Find(pageIndex, pageSize, username, nickname, mail, order, field)
|
||||
account, _ := GetCurrentAccount(c)
|
||||
items, total, err := userRepository.Find(pageIndex, pageSize, username, nickname, mail, order, field, account)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user