37 lines
1.5 KiB
Go
37 lines
1.5 KiB
Go
package requests
|
|
|
|
type ResRequest struct {
|
|
GetResProjectList // 获取项目列表
|
|
GetResCaseList // 获取病例列表
|
|
GetResCaseRecordList // 病例领取记录
|
|
GetResCaseBehaviorList // 获取病例用户操作行为列表
|
|
}
|
|
|
|
// 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:"结束时间"`
|
|
}
|
|
|
|
// GetResCaseBehaviorList 获取病例用户操作行为列表
|
|
type GetResCaseBehaviorList struct {
|
|
PlatformId int64 `json:"platform_id" form:"platform_id" label:"平台id"`
|
|
CaseId string `json:"sid" form:"sid" label:"病例标识" validate:"required"`
|
|
StartTime string `json:"starttime" form:"starttime" label:"开始时间" validate:"required"`
|
|
EndTime string `json:"endtime" form:"endtime" label:"结束时间" validate:"required"`
|
|
}
|