-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package dto | ||
|
||
import "time" | ||
|
||
type GetGroupMemberDto struct { | ||
// 用户ID | ||
UID int64 `json:"uid"` | ||
// 用户名 | ||
Name string `json:"name"` | ||
// 头像 | ||
Avatar string `json:"avatar"` | ||
// 用户状态 | ||
ActiveStatus int32 `json:"active_status"` | ||
// 最后活跃时间 | ||
LastOptTime time.Time `json:"last_active_time"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package req | ||
|
||
type GetGroupMemberListReq struct { | ||
// 房间ID | ||
ID int64 `form:"id" binding:"required"` | ||
Cursor *string `form:"cursor" binding:"required"` | ||
PageSize int `form:"page_size" binding:"required"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters