sktech_info.go 725 B

1234567891011121314151617181920212223242526
  1. package http_model
  2. type GetSketchInfoRequest struct {
  3. TaskID int64 `json:"task_id"`
  4. }
  5. type SketchPhotoInfo struct {
  6. PhotoUrl string `json:"photo_url"` // 图片或视频url
  7. PhotoUid string `json:"photo_uid"`
  8. Symbol int64 `json:"symbol"` // 标志位,1为详情图,2为视频
  9. }
  10. type GetSketchInfoData struct {
  11. SketchPhotos []SketchPhotoInfo `json:"sketch_photos"` //初稿图片以及视频
  12. Title string `json:"title"`
  13. Content string `json:"content"`
  14. }
  15. func NewGetSketchInfoRequest() *GetSketchInfoRequest {
  16. return new(GetSketchInfoRequest)
  17. }
  18. func NewGetSketchInfoResponse() *CommonResponse {
  19. resp := new(CommonResponse)
  20. resp.Data = new(GetSketchInfoData)
  21. return resp
  22. }