mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-11-03 03:31:58 +08:00
37 lines
1.1 KiB
Go
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"`
|
|
}
|