Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ggtz GGTZ_URL = "https://www.lit.edu.cn/jwc/xb2021/ggtz.htm" // gttz by page GGTZ_PAGE_URL = "https://www.lit.edu.cn/jwc/xb2021" // post url POST_URL = "https://www.lit.edu.cn/jwc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type JwCUser ¶
type JwCUser struct {
Client *resty.Client
}
JwUser 教务在线结构体
func (*JwCUser) GetGGTZPost ¶
func (u *JwCUser) GetGGTZPost(postPath string) (content PostContent, err error)
type PostContent ¶
type PostContent struct { Content string `json:"content"` Attachment []Attachment `json:"attachment"` }
Click to show internal directories.
Click to hide internal directories.