chore: seed migration objects batch 5
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package imabusereason
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/form"
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/imAbuseReason/list" method:"get" tags:"IM举报原因" summary:"获取IM举报原因列表"`
|
||||
sysin.ImAbuseReasonListInp
|
||||
}
|
||||
|
||||
type ListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImAbuseReasonModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type EditReq struct {
|
||||
g.Meta `path:"/imAbuseReason/edit" method:"post" tags:"IM举报原因" summary:"新增/编辑IM举报原因"`
|
||||
sysin.ImAbuseReasonEditInp
|
||||
}
|
||||
|
||||
type EditRes struct{}
|
||||
|
||||
type DeleteReq struct {
|
||||
g.Meta `path:"/imAbuseReason/delete" method:"post" tags:"IM举报原因" summary:"禁用IM举报原因"`
|
||||
sysin.ImAbuseReasonDeleteInp
|
||||
}
|
||||
|
||||
type DeleteRes struct{}
|
||||
Reference in New Issue
Block a user