sfacg_structs

package
v0.0.0-...-3ead46a Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BookInfo = struct {
	Status struct {
		HTTPCode  int         `json:"httpCode"`
		ErrorCode int         `json:"errorCode"`
		MsgType   int         `json:"msgType"`
		Msg       interface{} `json:"msg"`
	} `json:"status"`
	Data BookInfoData `json:"data"`
}{}
View Source
var Login = struct {
	Status struct {
		HTTPCode  int         `json:"httpCode"`
		ErrorCode int         `json:"errorCode"`
		MsgType   int         `json:"msgType"`
		Msg       interface{} `json:"msg"`
	} `json:"status"`
	Cookie string
	Data   interface{} `json:"data"`
}{}

Functions

This section is empty.

Types

type Account

type Account struct {
	Status struct {
		HTTPCode  int    `json:"httpCode"`
		ErrorCode int    `json:"errorCode"`
		MsgType   int    `json:"msgType"`
		Msg       string `json:"msg"`
	} `json:"status"`
	Data struct {
		UserName     string `json:"userName"`
		NickName     string `json:"nickName"`
		Email        string `json:"email"`
		AccountID    int    `json:"accountId"`
		RoleName     string `json:"roleName"`
		FireCoin     int    `json:"fireCoin"`
		Avatar       string `json:"avatar"`
		IsAuthor     bool   `json:"isAuthor"`
		PhoneNum     string `json:"phoneNum"`
		RegisterDate string `json:"registerDate"`
	} `json:"data"`
}

type BookInfoData

type BookInfoData struct {
	AuthorID       int     `json:"authorId"`
	LastUpdateTime string  `json:"lastUpdateTime"`
	MarkCount      int     `json:"markCount"`
	NovelCover     string  `json:"novelCover"`
	BgBanner       string  `json:"bgBanner"`
	NovelID        int     `json:"novelId"`
	NovelName      string  `json:"novelName"`
	Point          float64 `json:"point"`
	IsFinish       bool    `json:"isFinish"`
	AuthorName     string  `json:"authorName"`
	CharCount      int     `json:"charCount"`
	ViewTimes      int     `json:"viewTimes"`
	TypeID         int     `json:"typeId"`
	AllowDown      bool    `json:"allowDown"`
	SignStatus     string  `json:"signStatus"`
	CategoryID     int     `json:"categoryId"`
}

type Catalogue

type Catalogue struct {
	Status Status `json:"status"`
	Data   Data   `json:"data"`
}

type ChapterList

type ChapterList struct {
	ChapID              int         `json:"chapId"`
	NovelID             int         `json:"novelId"`
	VolumeID            int         `json:"volumeId"`
	NeedFireMoney       int         `json:"needFireMoney"`
	OriginNeedFireMoney int         `json:"originNeedFireMoney"`
	CharCount           int         `json:"charCount"`
	RowNum              int         `json:"rowNum"`
	ChapOrder           int         `json:"chapOrder"`
	Title               string      `json:"title"`
	Content             interface{} `json:"content"`
	Sno                 float64     `json:"sno"`
	IsVip               bool        `json:"isVip"`
	AddTime             string      `json:"AddTime"`
	UpdateTime          interface{} `json:"updateTime"`
	CanUnlockWithAd     bool        `json:"canUnlockWithAd"`
	IsRubbish           bool        `json:"isRubbish"`
	AuditStatus         int         `json:"auditStatus"`
}

type Content

type Content struct {
	Status struct {
		HTTPCode  int         `json:"httpCode"`
		ErrorCode int         `json:"errorCode"`
		MsgType   int         `json:"msgType"`
		Msg       interface{} `json:"msg"`
	} `json:"status"`
	Data struct {
		ChapID     int    `json:"chapId"`
		NovelID    int    `json:"novelId"`
		VolumeID   int    `json:"volumeId"`
		CharCount  int    `json:"charCount"`
		RowNum     int    `json:"rowNum"`
		ChapOrder  int    `json:"chapOrder"`
		Title      string `json:"title"`
		AddTime    string `json:"addTime"`
		UpdateTime string `json:"updateTime"`
		Sno        int    `json:"sno"`
		IsVip      bool   `json:"isVip"`
		Expand     struct {
			NeedFireMoney       int         `json:"needFireMoney"`
			OriginNeedFireMoney int         `json:"originNeedFireMoney"`
			Content             string      `json:"content"`
			Tsukkomi            interface{} `json:"tsukkomi"`
			ChatLines           interface{} `json:"chatLines"`
		} `json:"expand"`
		Ntitle      string `json:"ntitle"`
		IsRubbish   bool   `json:"isRubbish"`
		AuditStatus int    `json:"auditStatus"`
	} `json:"data"`
}

type Data

type Data struct {
	NovelID        int          `json:"novelId"`
	LastUpdateTime string       `json:"lastUpdateTime"`
	VolumeList     []VolumeList `json:"volumeList"`
}
type Search struct {
	Status struct {
		HTTPCode  int         `json:"httpCode"`
		ErrorCode int         `json:"errorCode"`
		MsgType   int         `json:"msgType"`
		Msg       interface{} `json:"msg"`
	} `json:"status"`
	Data struct {
		Novels []BookInfoData `json:"novels"`
	} `json:"data"`
}

type Status

type Status struct {
	HTTPCode  int         `json:"httpCode"`
	ErrorCode int         `json:"errorCode"`
	MsgType   int         `json:"msgType"`
	Msg       interface{} `json:"msg"`
}

type VolumeList

type VolumeList struct {
	VolumeID    int           `json:"volumeId"`
	Title       string        `json:"title"`
	Sno         float64       `json:"sno"`
	ChapterList []ChapterList `json:"chapterList"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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