pets.list.go 422 B

123456789101112131415161718192021222324
  1. package petsLy
  2. import (
  3. "duoduo/models/mysqlLy"
  4. )
  5. type PetsListRequest struct {
  6. OpenId string `json:"open_id"`
  7. PageSize int `json:"pageSize"`
  8. PageIndex int `json:"pageIndex"`
  9. }
  10. type PetsListResponse struct {
  11. Pets []Pets `json:"pets"`
  12. }
  13. type Pets struct {
  14. Pets mysqlLy.Pets `json:"pets"`
  15. Pictures []string `json:"pictures"`
  16. TimeDiff string `json:"time_diff"`
  17. }
  18. type Pictures struct {
  19. }