get_sketch_info.go 521 B

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