user.go 623 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 UserChangeRecordResp struct {
  15. List []*models.UserChangeRecord
  16. // Paging *paging.PagingItem `description:"分页数据"`
  17. }
  18. type UserDetailResp struct {
  19. Detail *models.UserView
  20. Permission map[string][]string
  21. }
  22. type TemplateUserListResp struct {
  23. List []models.TemplateUsersItem
  24. Paging *paging.PagingItem `description:"分页数据"`
  25. }