user.go 616 B

12345678910111213141516171819202122232425262728293031
  1. package response
  2. import (
  3. "eta/eta_mini_crm_ht/models"
  4. "github.com/rdlucklib/rdluck_tools/paging"
  5. )
  6. type UserListResp struct {
  7. List []*models.UserView
  8. Paging *paging.PagingItem `description:"分页数据"`
  9. }
  10. type UserCheckResp struct {
  11. UserId int
  12. Status int
  13. }
  14. type UserDetailResp struct {
  15. Detail *models.UserView
  16. Permission map[string][]string
  17. }
  18. type TemplateUserListResp struct {
  19. List []models.TemplateUsersItem
  20. Paging *paging.PagingItem `description:"分页数据"`
  21. }
  22. type MessageListResp struct {
  23. List []*models.UserMessageView
  24. Paging *paging.PagingItem `description:"分页数据"`
  25. }