models

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 0 Imported by: 1

README

hbookerTemplate

hbookerTemplate

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookInfo

type BookInfo struct {
	BookID          string          `json:"book_id"`
	BookName        string          `json:"book_name"`
	Description     string          `json:"description"`
	BookSrc         string          `json:"book_src"`
	Tag             string          `json:"tag"`
	TotalWordCount  string          `json:"total_word_count"`
	UpStatus        string          `json:"up_status"`
	UpdateStatus    string          `json:"update_status"`
	IsPaid          string          `json:"is_paid"`
	Cover           string          `json:"cover"`
	AuthorName      string          `json:"author_name"`
	Uptime          string          `json:"uptime"`
	Newtime         string          `json:"newtime"`
	ReviewAmount    string          `json:"review_amount"`
	RewardAmount    string          `json:"reward_amount"`
	ChapterAmount   string          `json:"chapter_amount"`
	LastChapterInfo LastChapterInfo `json:"last_chapter_info"`
	TagList         []TagList       `json:"tag_list"`
	BookType        string          `json:"book_type"`
	TransverseCover string          `json:"transverse_cover"`
}

type Challenge

type Challenge struct {
	Success    int    `json:"success"`
	Gt         string `json:"gt"`
	Challenge  string `json:"challenge"`
	NewCaptcha bool   `json:"new_captcha"`
}

type ChapterInfo

type ChapterInfo struct {
	ChapterID         string `json:"chapter_id"`
	BookID            string `json:"book_id"`
	DivisionID        string `json:"division_id"`
	UnitHlb           string `json:"unit_hlb"`
	ChapterIndex      string `json:"chapter_index"`
	ChapterTitle      string `json:"chapter_title"`
	AuthorSay         string `json:"author_say"`
	WordCount         string `json:"word_count"`
	Discount          string `json:"discount"`
	IsPaid            string `json:"is_paid"`
	AuthAccess        string `json:"auth_access"`
	BuyAmount         string `json:"buy_amount"`
	TsukkomiAmount    string `json:"tsukkomi_amount"`
	TotalHlb          string `json:"total_hlb"`
	Uptime            string `json:"uptime"`
	Mtime             string `json:"mtime"`
	RecommendBookInfo string `json:"recommend_book_info"`
	TxtContent        string `json:"txt_content"`
}

type ChapterList

type ChapterList struct {
	ChapterID      string `json:"chapter_id"`
	ChapterIndex   string `json:"chapter_index"`
	ChapterTitle   string `json:"chapter_title"`
	WordCount      string `json:"word_count"`
	TsukkomiAmount string `json:"tsukkomi_amount"`
	IsPaid         string `json:"is_paid"`
	Mtime          string `json:"mtime"`
	IsValid        string `json:"is_valid"`
	AuthAccess     string `json:"auth_access"`
}

type Content

type Content struct {
	Code string      `json:"code"`
	Tip  interface{} `json:"tip"`
	Data struct {
		ChapterInfo ChapterInfo `json:"chapter_info"`
	} `json:"data"`
}

type ContentBuy

type ContentBuy struct {
	Code         string         `json:"code"`
	Tip          string         `json:"tip"`
	Data         ContentBuyData `json:"data"`
	ScrollChests ScrollChest    `json:"scroll_chests"`
}

type ContentBuyData

type ContentBuyData struct {
	ReaderInfo ReaderInfo `json:"reader_info"`
	PropInfo   PropInfo   `json:"prop_info"`
	BookInfo   struct {
		IsBuy       string      `json:"is_buy"`
		BookInfo    BookInfo    `json:"book_info"`
		ShelfId     string      `json:"shelf_id"`
		ChapterInfo ChapterInfo `json:"chapter_info"`
	}
}

type ContentKey

type ContentKey struct {
	Code string      `json:"code"`
	Tip  interface{} `json:"tip"`
	Data struct {
		Command string `json:"command"`
	} `json:"data"`
}

type Detail

type Detail struct {
	Code string `json:"code"`
	Tip  any    `json:"tip"`
	Data struct {
		BookInfo    BookInfo   `json:"book_info"`
		RelatedList []BookInfo `json:"related_list"`
	} `json:"data"`
	ScrollChests []ScrollChest `json:"scroll_chests"`
}

type Geetest

type Geetest struct {
	Code int         `json:"code"`
	Tip  string      `json:"tip"`
	Data GeetestData `json:"data"`
}

type GeetestData

type GeetestData struct {
	NeedUseGeetest int `json:"need_use_geetest"`
	CodeLen        int `json:"code_len"`
}

type LastChapterInfo

type LastChapterInfo struct {
	ChapterID         string `json:"chapter_id"`
	BookID            string `json:"book_id"`
	ChapterIndex      string `json:"chapter_index"`
	ChapterTitle      string `json:"chapter_title"`
	Uptime            string `json:"uptime"`
	Mtime             string `json:"mtime"`
	RecommendBookInfo string `json:"recommend_book_info"`
}

type Login

type Login struct {
	Code string      `json:"code"`
	Data LoginData   `json:"data"`
	Tip  interface{} `json:"tip"`
}

type LoginData

type LoginData struct {
	LoginToken string     `json:"login_token"`
	UserCode   string     `json:"user_code"`
	ReaderInfo ReaderInfo `json:"reader_info"`
	PropInfo   PropInfo   `json:"prop_info"`
	IsSetYoung string     `json:"is_set_young"`
}

type NewVolumeList

type NewVolumeList struct {
	Code string      `json:"code"`
	Tip  interface{} `json:"tip"`
	Data struct {
		ChapterList []VolumeList `json:"chapter_list"`
	} `json:"data"`
	ScrollChests []interface{} `json:"scroll_chests"`
}

type PropInfo

type PropInfo struct {
	RESTGiftHlb     string `json:"rest_gift_hlb"`
	RESTHlb         string `json:"rest_hlb"`
	RESTYp          string `json:"rest_yp"`
	RESTRecommend   string `json:"rest_recommend"`
	RESTTotalBlade  string `json:"rest_total_blade"`
	RESTMonthBlade  string `json:"rest_month_blade"`
	RESTTotal100    string `json:"rest_total_100"`
	RESTTotal588    string `json:"rest_total_588"`
	RESTTotal1688   string `json:"rest_total_1688"`
	RESTTotal5000   string `json:"rest_total_5000"`
	RESTTotal10000  string `json:"rest_total_10000"`
	RESTTotal100000 string `json:"rest_total_100000"`
	RESTTotal50000  string `json:"rest_total_50000"`
	RESTTotal160000 string `json:"rest_total_160000"`
}

type ReaderInfo

type ReaderInfo struct {
	ReaderId       string        `json:"reader_id"`
	Account        string        `json:"account"`
	IsBind         string        `json:"is_bind"`
	IsBindQq       string        `json:"is_bind_qq"`
	IsBindWeixin   string        `json:"is_bind_weixin"`
	IsBindHuawei   string        `json:"is_bind_huawei"`
	IsBindApple    string        `json:"is_bind_apple"`
	PhoneNum       string        `json:"phone_num"`
	PhoneCrypto    string        `json:"phone_crypto"`
	MobileVal      string        `json:"mobileVal"`
	Email          string        `json:"email"`
	License        string        `json:"license"`
	ReaderName     string        `json:"reader_name"`
	AvatarUrl      string        `json:"avatar_url"`
	AvatarThumbUrl string        `json:"avatar_thumb_url"`
	BaseStatus     string        `json:"base_status"`
	ExpLv          string        `json:"exp_lv"`
	ExpValue       string        `json:"exp_value"`
	Gender         string        `json:"gender"`
	VipLv          string        `json:"vip_lv"`
	VipValue       string        `json:"vip_value"`
	IsAuthor       string        `json:"is_author"`
	IsUploader     string        `json:"is_uploader"`
	BookAge        string        `json:"book_age"`
	CategoryPrefer []interface{} `json:"category_prefer"`
	UsedDecoration []struct {
		DecorationType     string `json:"decoration_type"`
		DecorationUrl      string `json:"decoration_url"`
		DecorationId       string `json:"decoration_id"`
		ReaderDecorationId string `json:"reader_decoration_id"`
	} `json:"used_decoration"`
	Rank         string `json:"rank"`
	FirstLoginIp string `json:"first_login_ip"`
	Ctime        string `json:"ctime"`
}

type Register

type Register struct {
	Code string      `json:"code"`
	Tip  interface{} `json:"tip"`
	Data LoginData   `json:"data"`
}

type ScrollChest

type ScrollChest struct {
	ChestID     string `json:"chest_id"`
	ReaderName  string `json:"reader_name"`
	Gender      string `json:"gender"`
	AvatarURL   string `json:"avatar_url"`
	BookName    string `json:"book_name"`
	Cost        int64  `json:"cost"`
	ChestImgURL string `json:"chest_img_url"`
	PropID      int64  `json:"prop_id"`
	Content     string `json:"content"`
}
type Search struct {
	Code string      `json:"code"`
	Data SearchData  `json:"data"`
	Tip  interface{} `json:"tip"`
}

type SearchData

type SearchData struct {
	TagList []struct {
		TagName string `json:"tag_name"`
		Num     string `json:"num"`
	} `json:"tag_list"`
	BookList []BookInfo `json:"book_list"`
}

type Shelf

type Shelf struct {
	Code string `json:"code"`
	Tip  any    `json:"tip"`
	Data struct {
		ShelfList []ShelfList `json:"shelf_list"`
	} `json:"data"`
	ScrollChests []interface{} `json:"scroll_chests"`
}

type ShelfBook

type ShelfBook struct {
	Code string `json:"code"`
	Tip  any    `json:"tip"`
	Data struct {
		BookList []ShelfBookList `json:"book_list"`
	} `json:"data"`
	ScrollChests []interface{} `json:"scroll_chests"`
}

type ShelfBookList

type ShelfBookList struct {
	IsBuy                     string   `json:"is_buy"`
	BookInfo                  BookInfo `json:"book_info"`
	ModTime                   string   `json:"mod_time"`
	LastReadChapterID         string   `json:"last_read_chapter_id"`
	LastReadChapterUpdateTime string   `json:"last_read_chapter_update_time"`
	IsNotify                  string   `json:"is_notify"`
}

type ShelfList

type ShelfList struct {
	ShelfID    string `json:"shelf_id"`
	ReaderID   string `json:"reader_id"`
	ShelfName  string `json:"shelf_name"`
	ShelfIndex string `json:"shelf_index"`
	BookLimit  string `json:"book_limit"`
}

type TagList

type TagList struct {
	TagID   string `json:"tag_id"`
	TagType string `json:"tag_type"`
	TagName string `json:"tag_name"`
}

type VolumeList

type VolumeList struct {
	ChapterList     []ChapterList `json:"chapter_list"`
	MaxUpdateTime   string        `json:"max_update_time"`
	MaxChapterIndex string        `json:"max_chapter_index"`
	DivisionID      string        `json:"division_id"`
	DivisionIndex   string        `json:"division_index"`
	DivisionName    string        `json:"division_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL