26 lines
676 B
Go
26 lines
676 B
Go
package imnotification
|
|
|
|
import (
|
|
"hotgo/internal/model/input/form"
|
|
"hotgo/internal/model/input/sysin"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
type TemplateListReq struct {
|
|
g.Meta `path:"/imNotification/templateList" method:"get" tags:"IM通知模板" summary:"获取IM通知模板列表"`
|
|
sysin.ImNotificationTemplateListInp
|
|
}
|
|
|
|
type TemplateListRes struct {
|
|
form.PageRes
|
|
List []*sysin.ImNotificationTemplateListModel `json:"list" dc:"数据列表"`
|
|
}
|
|
|
|
type TemplateUpdateReq struct {
|
|
g.Meta `path:"/imNotification/templateUpdate" method:"post" tags:"IM通知模板" summary:"更新IM通知模板"`
|
|
sysin.ImNotificationTemplateUpdateInp
|
|
}
|
|
|
|
type TemplateUpdateRes struct{}
|