round_picture.go 793 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package bizhi
  2. import "duoduo/models/mysqlBz"
  3. //随机获取图片请求参数
  4. type RoundPictureResponse struct {
  5. mysqlBz.BiZhi
  6. Cover1 string `json:"Cover1"`
  7. Cover string `json:"Cover"`
  8. CoverHeight string `json:"CoverHeight"`
  9. CoverWidth string `json:"CoverWidth"`
  10. Loaded bool `json:"loaded"`
  11. }
  12. //图片标签
  13. type PictureLabelRequest struct {
  14. Label string `json:"label"`
  15. }
  16. //图片标签更新
  17. type PictureLabelUpdateRequest struct {
  18. Id int `json:"id"`
  19. Label string `json:"label"`
  20. }
  21. //图片id
  22. type PictureGroupRequest struct {
  23. Id int `json:"id"`
  24. Label string `json:"label"`
  25. OpenId string `json:"openId"`
  26. }
  27. type SearchRequest struct {
  28. Label string `json:"label"`
  29. PageSize int `json:"pageSize"`
  30. PageIndex int `json:"pageIndex"`
  31. }