🎨 优化文章和支付回调,新增返回分享用接口

This commit is contained in:
2025-10-08 16:41:50 +08:00
parent f0ea189553
commit d593476c51
9 changed files with 94 additions and 83 deletions

View File

@@ -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"`
}