🎨 新增管理后台讲师包月相关接口

This commit is contained in:
2025-09-08 20:08:10 +08:00
parent 81a266afc7
commit f5948a366b
4 changed files with 24 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ type TeacherVip struct {
Title string `json:"title" form:"title" gorm:"comment:VIP标题;size:128"`
TeacherId uint `json:"teacher_id" gorm:"comment:讲师ID;"`
TeacherName string `json:"teacher_name" gorm:"comment:讲师名称"` // 讲师名称
Avatar string `json:"avatar" gorm:"comment:讲师头像"`
Price int `json:"price" gorm:"comment:VIP价格(单位为分)"`
Desc string `json:"desc" gorm:"comment:VIP描述;type:longtext"`
}