🎨 新增ip检测配置功能

This commit is contained in:
2025-11-16 22:55:13 +08:00
parent 6e924c9630
commit 598d5e439a
8 changed files with 175 additions and 20 deletions

View File

@@ -11,3 +11,11 @@ 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"`
}