28 lines
1002 B
Go
28 lines
1002 B
Go
package requests
|
|
|
|
type ResRequest struct {
|
|
GetResProjectList // 获取项目列表
|
|
GetResCaseList // 获取病例列表
|
|
GetResCaseRecordList // 病例领取记录
|
|
}
|
|
|
|
// GetResProjectList 获取项目列表
|
|
type GetResProjectList struct {
|
|
PlatformId int64 `json:"platform_id" form:"platform_id" label:"平台id"`
|
|
}
|
|
|
|
// GetResCaseList 获取列表
|
|
type GetResCaseList struct {
|
|
PlatformId int64 `json:"platform_id" form:"platform_id" label:"平台id"`
|
|
Keyword string `json:"keyword" form:"keyword" label:"关键词"`
|
|
}
|
|
|
|
// GetResCaseRecordList 病例领取记录
|
|
type GetResCaseRecordList struct {
|
|
PlatformId int64 `json:"platform_id" form:"platform_id" label:"平台id"`
|
|
ProjectId string `json:"project_id" form:"project_id" label:"项目标识" validate:"required"`
|
|
Pindex int `json:"pindex" form:"pindex" label:"页码"`
|
|
StartTime string `json:"starttime" form:"starttime" label:"开始时间"`
|
|
EndTime string `json:"endtime" form:"endtime" label:"结束时间"`
|
|
}
|