user.go 492 B

123456789101112131415161718192021222324252627
  1. package response
  2. import (
  3. "eta/eta_mini_crm/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. }