get_sketch_info.go 489 B

123456789101112131415161718192021
  1. package http_model
  2. type GetSketchInfoByTaskIdRequest struct {
  3. TaskId int32 `json:"task_id"`
  4. }
  5. type SketchInfoResponse struct {
  6. PhotoUrl string `json:"photo_url"`
  7. Type int32 `json:"type"`
  8. Content string `json:"content"`
  9. }
  10. func NewGetSketchInfoByTaskIdRequest() *GetSketchInfoByTaskIdRequest {
  11. return new(GetSketchInfoByTaskIdRequest)
  12. }
  13. func NewGetSketchInfoByTaskIdResponse() *CommonResponse {
  14. resp := new(CommonResponse)
  15. resp.Data = new(SketchInfoResponse)
  16. return resp
  17. }