chore: seed migration objects batch 5
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
package imloginfailurelog
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/form"
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/imLoginFailureLog/list" method:"get" tags:"IM登录失败日志" summary:"获取登录失败日志"`
|
||||
sysin.ImLoginFailureLogListInp
|
||||
}
|
||||
type ListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImLoginFailureLogModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
type ViewReq struct {
|
||||
g.Meta `path:"/imLoginFailureLog/view" method:"get" tags:"IM登录失败日志" summary:"获取登录失败详情"`
|
||||
sysin.ImLoginFailureViewInp
|
||||
}
|
||||
type ViewRes struct{ *sysin.ImLoginFailureLogModel }
|
||||
type ExportReq struct {
|
||||
g.Meta `path:"/imLoginFailureLog/export" method:"get" tags:"IM登录失败日志" summary:"导出登录失败日志"`
|
||||
sysin.ImLoginFailureLogListInp
|
||||
}
|
||||
type ExportRes struct{}
|
||||
type AddBlacklistReq struct {
|
||||
g.Meta `path:"/imLoginFailureLog/addBlacklist" method:"post" tags:"IM登录失败日志" summary:"将IP加入黑名单"`
|
||||
sysin.ImLoginFailureAddBlacklistInp
|
||||
}
|
||||
type AddBlacklistRes struct{}
|
||||
type BanUserReq struct {
|
||||
g.Meta `path:"/imLoginFailureLog/banUser" method:"post" tags:"IM登录失败日志" summary:"封禁关联用户"`
|
||||
sysin.ImLoginFailureBanUserInp
|
||||
}
|
||||
type BanUserRes struct{ *sysin.ImUserCommandModel }
|
||||
Reference in New Issue
Block a user