Documentation
¶
Index ¶
- type AddNoticeConfigReq
- type AddNoticeConfigRes
- type AddNoticeInfoReq
- type AddNoticeInfoRes
- type AddNoticeTemplateReq
- type AddNoticeTemplateRes
- type DeleteNoticeConfigReq
- type DeleteNoticeConfigRes
- type DeleteNoticeInfoReq
- type DeleteNoticeInfoRes
- type DeleteNoticeTemplateReq
- type DeleteNoticeTemplateRes
- type EditNoticeConfigReq
- type EditNoticeConfigRes
- type EditNoticeInfoReq
- type EditNoticeInfoRes
- type EditNoticeTemplateReq
- type EditNoticeTemplateRes
- type GetNoticeConfigByIdReq
- type GetNoticeConfigByIdRes
- type GetNoticeConfigListReq
- type GetNoticeConfigListRes
- type GetNoticeInfoByIdReq
- type GetNoticeInfoByIdRes
- type GetNoticeInfoListReq
- type GetNoticeInfoListRes
- type GetNoticeTemplateByConfigIdReq
- type GetNoticeTemplateByConfigIdRes
- type GetNoticeTemplateByIdReq
- type GetNoticeTemplateByIdRes
- type GetNoticeTemplateListReq
- type GetNoticeTemplateListRes
- type LogDelReq
- type LogDelRes
- type LogSearchReq
- type LogSearchRes
- type SaveNoticeTemplateReq
- type SaveNoticeTemplateRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddNoticeConfigReq ¶
type AddNoticeConfigReq struct {
g.Meta `path:"/config/add" method:"post" summary:"添加通知配置" tags:"通知服务管理"`
Title string `json:"title" description:""`
SendGateway string `json:"sendGateway" description:""`
Types string `json:"types" description:""`
CreatedAt string `json:"createdAt" description:""`
}
AddNoticeConfigReq 添加数据
type AddNoticeConfigRes ¶
type AddNoticeConfigRes struct{}
type AddNoticeInfoReq ¶
type AddNoticeInfoReq struct {
g.Meta `path:"/info/add" method:"post" summary:"添加通知信息" tags:"通知服务管理"`
Totag string `json:"totag" description:""`
Status string `json:"status" description:""`
MethodCron string `json:"methodCron" description:""`
ComeFrom string `json:"comeFrom" description:""`
Method string `json:"method" description:""`
MsgBody string `json:"msgBody" description:""`
MsgUrl string `json:"msgUrl" description:""`
ConfigId string `json:"configId" description:""`
UserIds string `json:"userIds" description:""`
OrgIds string `json:"orgIds" description:""`
MethodNum string `json:"methodNum" description:""`
CreatedAt string `json:"createdAt" description:""`
MsgTitle string `json:"msgTitle" description:""`
}
AddNoticeInfoReq 添加数据
type AddNoticeInfoRes ¶
type AddNoticeInfoRes struct{}
type AddNoticeTemplateReq ¶
type AddNoticeTemplateReq struct {
g.Meta `path:"/template/add" method:"post" summary:"添加通知模版" tags:"通知服务管理"`
Code string `json:"code" description:""`
Title string `json:"title" description:""`
Content string `json:"content" description:""`
CreatedAt string `json:"createdAt" description:""`
ConfigId string `json:"configId" description:""`
SendGateway string `json:"sendGateway" description:""`
}
AddNoticeTemplateReq 添加数据
type AddNoticeTemplateRes ¶
type AddNoticeTemplateRes struct{}
type DeleteNoticeConfigReq ¶
type DeleteNoticeConfigReq struct {
g.Meta `path:"/config/delete" method:"delete" summary:"删除通知配置" tags:"通知服务管理"`
Ids []string `json:"ids" description:"ids" v:"required#ids不能为空"`
}
DeleteNoticeConfigReq 删除数据
type DeleteNoticeConfigRes ¶
type DeleteNoticeConfigRes struct{}
type DeleteNoticeInfoReq ¶
type DeleteNoticeInfoReq struct {
g.Meta `path:"/info/delete" method:"delete" summary:"删除通知信息" tags:"通知服务管理"`
Ids []int `json:"ids" description:"ids" v:"required#ids不能为空"`
}
DeleteNoticeInfoReq 删除数据
type DeleteNoticeInfoRes ¶
type DeleteNoticeInfoRes struct{}
type DeleteNoticeTemplateReq ¶
type DeleteNoticeTemplateReq struct {
g.Meta `path:"/template/delete" method:"delete" summary:"删除通知模版" tags:"通知服务管理"`
Ids []string `json:"ids" description:"ids" v:"required#ids不能为空"`
}
DeleteNoticeTemplateReq 删除数据
type DeleteNoticeTemplateRes ¶
type DeleteNoticeTemplateRes struct{}
type EditNoticeConfigReq ¶
type EditNoticeConfigReq struct {
g.Meta `path:"/config/edit" method:"put" summary:"编辑通知配置" tags:"通知服务管理"`
Id string `json:"id" description:""`
Title string `json:"title" description:""`
SendGateway string `json:"sendGateway" description:""`
Types string `json:"types" description:""`
CreatedAt string `json:"createdAt" description:""`
}
EditNoticeConfigReq 编辑数据api
type EditNoticeConfigRes ¶
type EditNoticeConfigRes struct{}
type EditNoticeInfoReq ¶
type EditNoticeInfoReq struct {
g.Meta `path:"/info/edit" method:"put" summary:"编辑通知信息" tags:"通知服务管理"`
UserIds string `json:"userIds" description:""`
MsgTitle string `json:"msgTitle" description:""`
OrgIds string `json:"orgIds" description:""`
MethodNum string `json:"methodNum" description:""`
CreatedAt string `json:"createdAt" description:""`
Id string `json:"id" description:""`
Totag string `json:"totag" description:""`
Status string `json:"status" description:""`
MethodCron string `json:"methodCron" description:""`
MsgUrl string `json:"msgUrl" description:""`
ConfigId string `json:"configId" description:""`
ComeFrom string `json:"comeFrom" description:""`
Method string `json:"method" description:""`
MsgBody string `json:"msgBody" description:""`
}
EditNoticeInfoReq 编辑数据api
type EditNoticeInfoRes ¶
type EditNoticeInfoRes struct{}
type EditNoticeTemplateReq ¶
type EditNoticeTemplateReq struct {
g.Meta `path:"/template/edit" method:"put" summary:"编辑通知模版" tags:"通知服务管理"`
Id string `json:"id" description:""`
SendGateway string `json:"sendGateway" description:""`
Code string `json:"code" description:""`
Title string `json:"title" description:""`
Content string `json:"content" description:""`
CreatedAt string `json:"createdAt" description:""`
ConfigId string `json:"configId" description:""`
}
EditNoticeTemplateReq 编辑数据api
type EditNoticeTemplateRes ¶
type EditNoticeTemplateRes struct{}
type GetNoticeConfigByIdReq ¶
type GetNoticeConfigByIdReq struct {
g.Meta `path:"/config/get" method:"get" summary:"获取通知配置" tags:"通知服务管理"`
Id int `json:"id" description:"id" v:"required#id不能为空"`
}
GetNoticeConfigByIdReq 获取指定ID的数据
type GetNoticeConfigByIdRes ¶
type GetNoticeConfigListReq ¶
type GetNoticeConfigListReq struct {
g.Meta `path:"/config/list" method:"get" summary:"获取通知配置列表" tags:"通知服务管理"`
SendGateway string `json:"sendGateway" description:""`
Types string `json:"types" description:""`
common.PaginationReq
}
GetNoticeConfigListReq 获取数据列表
type GetNoticeConfigListRes ¶
type GetNoticeConfigListRes struct {
Data []GetNoticeConfigByIdRes
common.PaginationRes
}
type GetNoticeInfoByIdReq ¶
type GetNoticeInfoByIdReq struct {
g.Meta `path:"/info/get" method:"get" summary:"获取通知信息" tags:"通知服务管理"`
Id int `json:"id" description:"id" v:"required#id不能为空"`
}
GetNoticeInfoByIdReq 获取指定ID的数据
type GetNoticeInfoByIdRes ¶
type GetNoticeInfoByIdRes struct {
OrgIds string `json:"orgIds" description:""`
MethodNum string `json:"methodNum" description:""`
CreatedAt string `json:"createdAt" description:""`
MsgTitle string `json:"msgTitle" description:""`
Totag string `json:"totag" description:""`
Status string `json:"status" description:""`
MethodCron string `json:"methodCron" description:""`
Id string `json:"id" description:""`
ComeFrom string `json:"comeFrom" description:""`
Method string `json:"method" description:""`
MsgBody string `json:"msgBody" description:""`
MsgUrl string `json:"msgUrl" description:""`
ConfigId string `json:"configId" description:""`
UserIds string `json:"userIds" description:""`
}
type GetNoticeInfoListReq ¶
type GetNoticeInfoListReq struct {
g.Meta `path:"/info/list" method:"get" summary:"获取通知信息列表" tags:"通知服务管理"`
ConfigId string `json:"configId" description:""`
ComeFrom string `json:"comeFrom" description:""`
Method string `json:"method" description:""`
Status int `json:"status" description:""`
common.PaginationReq
}
GetNoticeInfoListReq 获取数据列表
type GetNoticeInfoListRes ¶
type GetNoticeInfoListRes struct {
Data []GetNoticeInfoByIdRes
common.PaginationRes
}
type GetNoticeTemplateByConfigIdReq ¶
type GetNoticeTemplateByConfigIdReq struct {
g.Meta `path:"/template/getbyconfig" method:"get" summary:"获取通知模版" tags:"通知服务管理"`
ConfigId string `json:"configId" description:"configId" v:"required#通知配置ID不能为空"`
}
GetNoticeTemplateByConfigIdReq 获取指定ConfigId的数据
type GetNoticeTemplateByConfigIdRes ¶
type GetNoticeTemplateByConfigIdRes struct {
ConfigId string `json:"configId" description:""`
SendGateway string `json:"sendGateway" description:""`
Code string `json:"code" description:""`
Title string `json:"title" description:""`
Content string `json:"content" description:""`
CreatedAt string `json:"createdAt" description:""`
Id string `json:"id" description:""`
}
type GetNoticeTemplateByIdReq ¶
type GetNoticeTemplateByIdReq struct {
g.Meta `path:"/template/get" method:"get" summary:"获取通知模版" tags:"通知服务管理"`
Id string `json:"id" description:"id" v:"required#id不能为空"`
}
GetNoticeTemplateByIdReq 获取指定ID的数据
type GetNoticeTemplateByIdRes ¶
type GetNoticeTemplateByIdRes struct {
ConfigId string `json:"configId" description:""`
SendGateway string `json:"sendGateway" description:""`
Code string `json:"code" description:""`
Title string `json:"title" description:""`
Content string `json:"content" description:""`
CreatedAt string `json:"createdAt" description:""`
Id string `json:"id" description:""`
}
type GetNoticeTemplateListReq ¶
type GetNoticeTemplateListReq struct {
g.Meta `path:"/template/list" method:"get" summary:"获取通知模版列表" tags:"通知服务管理"`
ConfigId string `json:"configId" description:""`
SendGateway string `json:"sendGateway" description:""`
Code string `json:"code" description:""`
common.PaginationReq
}
GetNoticeTemplateListReq 获取数据列表
type GetNoticeTemplateListRes ¶
type GetNoticeTemplateListRes struct {
Data []GetNoticeTemplateByIdRes
common.PaginationRes
}
type LogSearchReq ¶
type LogSearchReq struct {
g.Meta `path:"/log/search" method:"get" summary:"通知日志搜索" tags:"通知服务管理"`
*model.NoticeLogSearchInput
}
type LogSearchRes ¶
type LogSearchRes struct {
*model.NoticeLogSearchOutput
}
type SaveNoticeTemplateReq ¶
type SaveNoticeTemplateReq struct {
g.Meta `path:"/template/save" method:"post" summary:"直接更新通知模版数据" tags:"通知服务管理"`
Id string `json:"id" description:""`
Code string `json:"code" description:""`
Title string `json:"title" description:""`
Content string `json:"content" description:""`
CreatedAt string `json:"createdAt" description:""`
ConfigId string `json:"configId" description:"configId" v:"required#configId不能为空"`
SendGateway string `json:"sendGateway" description:""`
}
SaveNoticeTemplateReq 添加数据
type SaveNoticeTemplateRes ¶
type SaveNoticeTemplateRes struct{}
Click to show internal directories.
Click to hide internal directories.