round_picture.go 623 B

123456789101112131415161718192021222324252627282930
  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. }