🎨 新增设置用户vip接口,优化机器人查询接口&修改跨域配置
This commit is contained in:
@@ -82,3 +82,9 @@ type GetTeacherApplyListReq struct {
|
||||
Phone string `json:"phone" form:"phone"`
|
||||
Nickname string `json:"nickname" form:"nickname"`
|
||||
}
|
||||
|
||||
type SetUserVipReq struct {
|
||||
Id int `json:"id" form:"id" vd:"@:len($)>0; msg:'用户ID不能为空'"`
|
||||
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user