34 lines
1.2 KiB
Go
34 lines
1.2 KiB
Go
package dto
|
|
|
|
// GetBackgroundImageDto 获取背景图
|
|
type GetBackgroundImageDto struct {
|
|
Status int `json:"status"` // 状态
|
|
Message string `json:"message"` // 提示信息
|
|
Data interface{} `json:"data"` // 数据值
|
|
}
|
|
|
|
// ShareAuthDto 授权
|
|
type ShareAuthDto struct {
|
|
Token string `json:"token"` // token
|
|
}
|
|
|
|
// ShareDto 获取返回数据-常规模式
|
|
type ShareDto struct {
|
|
Question []*QuestionDto `json:"question"` // 题库关联题目列表
|
|
BaseTokenItem []*BaseTokenItemDto `json:"base_token_item"` // 题库关联飞花令-列表
|
|
}
|
|
|
|
// ShareDtoForTwo 获取返回数据-固定套题模式
|
|
type ShareDtoForTwo struct {
|
|
Question [][]*QuestionDto `json:"question"` // 题库关联题目列表
|
|
BaseTokenItem []*BaseTokenItemDto `json:"base_token_item"` // 题库关联飞花令-列表
|
|
}
|
|
|
|
// ShareDtoForThree 获取返回数据-多轮固定题型模式
|
|
type ShareDtoForThree struct {
|
|
Single *ShareDtoForTwo `json:"single"` // 单选题
|
|
Multiple *ShareDtoForTwo `json:"multiple"` // 多选题
|
|
Judge *ShareDtoForTwo `json:"judge"` // 判断题
|
|
Qa *ShareDtoForTwo `json:"qa"` // 问答题
|
|
}
|