pets.list.go 609 B

12345678910111213141516171819202122232425262728
  1. package petsLy
  2. import (
  3. "duoduo/models/mysqlLy"
  4. )
  5. type PetsListRequest struct {
  6. OpenId string `json:"open_id"`
  7. IsFee int `json:"is_fee"` //有偿,无偿
  8. City string `json:"city"` //城市
  9. Pet string `json:"pet"` //品种
  10. Status int `json:"status"` //领养状态
  11. PageSize int `json:"pageSize"`
  12. PageIndex int `json:"pageIndex"`
  13. }
  14. type PetsListResponse struct {
  15. Pets []Pets `json:"pets"`
  16. }
  17. type Pets struct {
  18. Pets mysqlLy.Pets `json:"pets"`
  19. Pictures []string `json:"pictures"`
  20. TimeDiff string `json:"time_diff"`
  21. }
  22. type Pictures struct {
  23. }