imrecord userid

This commit is contained in:
苏尹岚
2020-11-11 14:45:12 +08:00
parent 28fbbe1a45
commit 9b220dbc68
5 changed files with 15 additions and 9 deletions

View File

@@ -249,3 +249,9 @@ func (*RoleMenu) TableUnique() [][]string {
[]string{"MenuID", "RoleID", "DeletedAt"},
}
}
type GetUserResult struct {
User
AcceptOrderCount int `json:"acceptOrderCount"`
FinishedOrderCount int `json:"finishedOrderCount"`
}