sketch_photo.go 639 B

123456789101112131415161718192021222324
  1. package http_model
  2. type FindSketchPhotoRequest struct {
  3. SketchID int64 `json:"sketch_id"`
  4. }
  5. type SketchPhoto struct {
  6. PhotoUrl string `json:"photo_url"` // 图片或视频url
  7. PhotoUid string `json:"photo_uid"`
  8. Symbol int64 `json:"symbol"` // 标志位,1为详情图,2为视频
  9. }
  10. type FindSketchPhotoData struct {
  11. SketchPhotos []SketchPhoto `json:"sketch_photos"` //初稿图片以及视频
  12. }
  13. func NewFindSketchPhotoRequest() *FindSketchPhotoRequest {
  14. return new(FindSketchPhotoRequest)
  15. }
  16. func NewFindSketchPhotoResponse() *CommonResponse {
  17. resp := new(CommonResponse)
  18. resp.Data = new(FindSketchPhotoData)
  19. return resp
  20. }