🎨 新增批量修改包月服务价格功能&新增讲师管理相关功能

This commit is contained in:
2025-09-15 20:26:32 +08:00
parent 19eeb6f0a3
commit 7f066800a8
10 changed files with 110 additions and 12 deletions

View File

@@ -90,3 +90,9 @@ type SetUserVipReq struct {
VipExpireTime string `json:"vip_expire_time" form:"vip_expire_time" vd:"@:len($)>0; msg:'会员过期时间不能为空'"`
UserLabel int64 `json:"user_label" form:"user_label" vd:"@:len($)>0; msg:'用户标签不能为空'"` // 1 普通用户 2 Vip 3 Svip
}
type SetTeacherInfo struct {
Id int `json:"id" form:"id" vd:"@:len($)>0; msg:'用户ID不能为空'"`
ExpectRate int `json:"expect_rate" form:"expect_rate"`
Weight int `json:"weight" form:"weight" `
}