sktech_info.go 896 B

1234567891011121314151617181920212223242526272829
  1. package http_model
  2. type GetSketchInfoRequest struct {
  3. TaskID string `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. Agreeat string `json:"agree_at"`
  15. Submitat string `json:"submit_at"`
  16. ReverseOpinion string `json:"reverse_opinion"`
  17. }
  18. func NewGetSketchInfoRequest() *GetSketchInfoRequest {
  19. return new(GetSketchInfoRequest)
  20. }
  21. func NewGetSketchInfoResponse() *CommonResponse {
  22. resp := new(CommonResponse)
  23. resp.Data = new(GetSketchInfoData)
  24. return resp
  25. }