33 lines
1.1 KiB
Go
33 lines
1.1 KiB
Go
package laosiji
|
|
|
|
type NovelSearchListReq struct {
|
|
Page string `json:"page"` //
|
|
Page_size string `json:"page_size"` //
|
|
Cat_id string `json:"cat_id"` // 分类 audio 18R normal
|
|
Start_time string `json:"start_time"` // 更新开始时间
|
|
End_time string `json:"end_time"` // 更新结束时间
|
|
Is_end string `json:"is_end"` // 是否完结 y | n
|
|
Need_total_info string `json:"need_total_info"` // 分页信息 默认y
|
|
Keywords string `json:"keywords"` // 关键字
|
|
}
|
|
|
|
type NovelSearchListResp struct {
|
|
Data []NovelSearchInfo `json:"data"` //
|
|
Total string `json:"total"` // 总数
|
|
Current_page string `json:"current_page"` // 当前页
|
|
Page_size string `json:"page_size"` // 当前页数
|
|
Last_page string `json:"last_page"` //
|
|
}
|
|
|
|
type NovelDetailReq struct {
|
|
Id string `json:"id"` // id
|
|
}
|
|
|
|
type NovelDetailResp struct {
|
|
NovelSearchInfo
|
|
}
|
|
|
|
type NovelAddListReq struct {
|
|
Ids []string `json:"ids"`
|
|
}
|