Files
SamWaf/model/request/waf_otp_req.go
T
2025-02-26 13:39:25 +08:00

37 lines
1.1 KiB
Go

package request
import "SamWaf/model/common/request"
type WafOtpAddReq struct {
UserName string `json:"user_name" form:"user_name"`
Url string `json:"url" form:"url"`
Secret string `json:"secret" form:"secret"`
Remarks string `json:"remarks" form:"remarks"`
}
type WafOtpEditReq struct {
Id string `json:"id"`
UserName string `json:"user_name" form:"user_name"`
Url string `json:"url" form:"url"`
Secret string `json:"secret" form:"secret"`
Remarks string `json:"remarks" form:"remarks"`
}
type WafOtpBindReq struct {
UserName string `json:"user_name" form:"user_name"`
Url string `json:"url" form:"url"`
Secret string `json:"secret" form:"secret"`
Remarks string `json:"remarks" form:"remarks"`
SecretCode string `json:"secret_code" form:"secret_code"`
}
type WafOtpDetailReq struct {
Id string `json:"id" form:"id"`
}
type WafOtpDelReq struct {
Id string `json:"id" form:"id"`
}
type WafOtpSearchReq struct {
request.PageInfo
}
type WafOtpUnBindReq struct {
SecretCode string `json:"secret_code" form:"secret_code"`
}