@@ -0,0 +1,74 @@
|
||||
package laosiji
|
||||
|
||||
type Tags struct {
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type ContentInfo struct {
|
||||
W string `json:"w"`
|
||||
H string `json:"h"`
|
||||
F string `json:"f"`
|
||||
}
|
||||
|
||||
type ComicsSearchInfo struct {
|
||||
Id string `json:"id"` // id
|
||||
Name string `json:"name"` // 名称
|
||||
Alias_name string `json:"alias_name"` // 别名
|
||||
Type string `json:"type"` // 类型
|
||||
Img string `json:"img"` // 封面
|
||||
Description string `json:"description"` // 描述
|
||||
Money string `json:"money"` //
|
||||
Category string `json:"category"` // 分类
|
||||
Update_status string `json:"update_status"` // 更新状态 0更新中 1更新完成
|
||||
Update_date string `json:"update_date"` // 更新时间
|
||||
Chapter_count string `json:"chapter_count"` // 章节数量
|
||||
Is_adult string `json:"is_adult"` // 是否有声漫
|
||||
Tags []Tags `json:"tags"` // 标签
|
||||
Sub_title string `json:"sub_title"` // 子标题
|
||||
Chapter []ChapterInfo `json:"chapter"` // 漫画章节
|
||||
IsAdd bool `json:"isAdd"`
|
||||
}
|
||||
|
||||
type ComicsSearchListReq struct {
|
||||
Page string `json:"page"` //
|
||||
Page_size string `json:"page_size"` //
|
||||
Cat_id string `json:"cat_id"` //
|
||||
Start_time string `json:"start_time"` // 更新开始时间
|
||||
End_time string `json:"end_time"` // 更新结束时间
|
||||
Is_end string `json:"is_end"` // 是否完结 y | n
|
||||
Source_site string `json:"source_site"` // 源站 如 www.toptoon.net
|
||||
Source_url string `json:"source_url"` // 源链接 如 https://www.toptoon.net/comic/epList/81181
|
||||
Need_total_info string `json:"need_total_info"` // 分页信息 默认y
|
||||
Keywords string `json:"keywords"` // 关键字
|
||||
}
|
||||
|
||||
type ChapterInfo struct {
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Img string `json:"img"`
|
||||
Content []ContentInfo `json:"content"`
|
||||
}
|
||||
type ComicsSearchListResp struct {
|
||||
Data []ComicsSearchInfo `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 ComicsDetailReq struct {
|
||||
Id string `json:"id"` // id
|
||||
}
|
||||
|
||||
type ComicsDetailResp struct {
|
||||
ComicsSearchInfo
|
||||
}
|
||||
|
||||
type ComicsSyncReq struct {
|
||||
Ids []string `json:"ids"`
|
||||
}
|
||||
|
||||
type ComicsSyncResp struct {
|
||||
List []ComicsSearchInfo `json:"list"`
|
||||
}
|
||||
Reference in New Issue
Block a user