🎨 优化文章和支付回调,新增返回分享用接口
This commit is contained in:
@@ -17,10 +17,16 @@ type UserInfo struct {
|
||||
}
|
||||
|
||||
type TeacherInfo struct {
|
||||
ID uint `json:"id" form:"id"`
|
||||
NickName string `json:"nick_name" form:"nick_name"`
|
||||
Avatar string `json:"avatar" form:"avatar"`
|
||||
Des string `json:"des" form:"des"`
|
||||
Follow int64 `json:"follow" form:"follow"` // 粉丝数
|
||||
Weight int `json:"weight" form:"weight"` // 权重
|
||||
ID uint `json:"id" form:"id"`
|
||||
NickName string `json:"nick_name" form:"nick_name"`
|
||||
Avatar string `json:"avatar" form:"avatar"`
|
||||
Des string `json:"des" form:"des"`
|
||||
Weight int `json:"weight" form:"weight"` // 权重
|
||||
VIPInfo []TeacherVipInfo `json:"vip_info" form:"vip_info"`
|
||||
}
|
||||
|
||||
type TeacherVipInfo struct {
|
||||
TeacherId uint `json:"teacher_id" form:"teacher_id"`
|
||||
Title string `json:"title" form:"title"`
|
||||
ExpireAt string `json:"expire_at" form:"expire_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user