Files
web_hgtv_server/web/service/srv_ipblack/define.go
T
rootandClaude Opus 5.5 7974a42301 Initial commit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 11:07:42 +08:00

26 lines
462 B
Go

package srv_ipblack
import (
"videoweb/pub/models/ipblackmod"
"videoweb/pub/pubdef"
)
type GetIPBlackListReq struct {
pubdef.Page
IP *string `json:"ip"`
}
type GetIPBlackListResp struct {
Total int64 `json:"total"`
List []*ipblackmod.IPBlackModel `json:"list"`
}
type AddIPBlackListReq struct {
Ip string `json:"ip"`
Desc string `json:"desc" bson:"desc"` // 备注
}
type DelIpBlackListReq struct {
Ip string `json:"ip"`
}