1234567891011121314151617181920212223 |
- package http_model
- type JobListRequest struct {
- }
- type JobListResponse struct {
- Jobs []JoBInfo `json:"Jobs"`
- }
- type JoBInfo struct {
- JobId int `json:"job_id"`
- JobName string `json:"job_name"`
- }
- func NewJobListRequest() *JobListRequest {
- return new(JobListRequest)
- }
- func NewJobListResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(JobListResponse)
- return resp
- }
|