22 lines
680 B
Go
22 lines
680 B
Go
package request
|
|
|
|
import common "git.echol.cn/loser/lckt/model/common/request"
|
|
|
|
type GetTeacherVipList struct {
|
|
common.PageInfo
|
|
TeacherId uint `json:"teacher_id" form:"teacher_id"` // 讲师ID
|
|
}
|
|
|
|
type UpdateTeacherVipPriceBatch struct {
|
|
Ids []uint `json:"ids" form:"ids" vd:"@:len($)>0; msg:'请选择要修改的讲师VIP'"`
|
|
Price float64 `json:"price" form:"price" vd:"@:len($)>0; msg:'请输入讲师VIP价格'"` // 讲师VIP价格
|
|
}
|
|
|
|
type IpCheckConfigReq struct {
|
|
IpAddrs []string `json:"ip_addrs" form:"ip_addrs" vd:"@:len($)>0; msg:'请输入要检测的IP地址列表'"` // IP地址列表
|
|
}
|
|
|
|
type IpCheckStatus struct {
|
|
Status bool `json:"status" form:"status"`
|
|
}
|