feat: add IM admin P2 configuration modules
This commit is contained in:
@@ -347,6 +347,42 @@ type (
|
||||
// TemplateUpdate 更新IM通知模板
|
||||
TemplateUpdate(ctx context.Context, in *sysin.ImNotificationTemplateUpdateInp) (err error)
|
||||
}
|
||||
ISysImAppRelease interface {
|
||||
// List 获取IM客户端版本策略列表
|
||||
List(ctx context.Context, in *sysin.ImAppReleaseListInp) (list []*sysin.ImAppReleaseModel, totalCount int, err error)
|
||||
// Edit 新增/编辑IM客户端版本策略
|
||||
Edit(ctx context.Context, in *sysin.ImAppReleaseEditInp) (err error)
|
||||
}
|
||||
ISysImAbuseReason interface {
|
||||
// List 获取IM举报原因列表
|
||||
List(ctx context.Context, in *sysin.ImAbuseReasonListInp) (list []*sysin.ImAbuseReasonModel, totalCount int, err error)
|
||||
// Edit 新增/编辑IM举报原因
|
||||
Edit(ctx context.Context, in *sysin.ImAbuseReasonEditInp) (err error)
|
||||
// Delete 禁用IM举报原因
|
||||
Delete(ctx context.Context, in *sysin.ImAbuseReasonDeleteInp) (err error)
|
||||
}
|
||||
ISysImMailboxConfig interface {
|
||||
// Get 获取IM总经理信箱配置
|
||||
Get(ctx context.Context, in *sysin.ImMailboxConfigGetInp) (res *sysin.ImMailboxConfigModel, err error)
|
||||
// Update 更新IM总经理信箱配置
|
||||
Update(ctx context.Context, in *sysin.ImMailboxConfigUpdateInp) (err error)
|
||||
}
|
||||
ISysImFeedbackConfig interface {
|
||||
// Get 获取IM意见反馈配置
|
||||
Get(ctx context.Context, in *sysin.ImFeedbackConfigGetInp) (res *sysin.ImFeedbackConfigModel, err error)
|
||||
// Update 更新IM意见反馈配置
|
||||
Update(ctx context.Context, in *sysin.ImFeedbackConfigUpdateInp) (err error)
|
||||
}
|
||||
ISysImWorkbench interface {
|
||||
// List 获取IM工作台模块列表
|
||||
List(ctx context.Context, in *sysin.ImWorkbenchAppListInp) (list []*sysin.ImWorkbenchAppModel, totalCount int, err error)
|
||||
// Edit 新增/编辑IM工作台模块
|
||||
Edit(ctx context.Context, in *sysin.ImWorkbenchAppEditInp) (err error)
|
||||
// Delete 禁用IM工作台模块
|
||||
Delete(ctx context.Context, in *sysin.ImWorkbenchAppDeleteInp) (err error)
|
||||
// Reorder 调整IM工作台模块排序
|
||||
Reorder(ctx context.Context, in *sysin.ImWorkbenchAppReorderInp) (err error)
|
||||
}
|
||||
ISysImTaskDashboard interface {
|
||||
// List 获取IM任务看板列表
|
||||
List(ctx context.Context, in *sysin.ImTaskDashboardListInp) (list []*sysin.ImTaskDashboardListModel, totalCount int, err error)
|
||||
@@ -615,6 +651,11 @@ var (
|
||||
localSysImFilePolicy ISysImFilePolicy
|
||||
localSysImExternalConfig ISysImExternalConfig
|
||||
localSysImNotification ISysImNotification
|
||||
localSysImAppRelease ISysImAppRelease
|
||||
localSysImAbuseReason ISysImAbuseReason
|
||||
localSysImMailboxConfig ISysImMailboxConfig
|
||||
localSysImFeedbackConfig ISysImFeedbackConfig
|
||||
localSysImWorkbench ISysImWorkbench
|
||||
localSysImTaskDashboard ISysImTaskDashboard
|
||||
localSysImAuditLog ISysImAuditLog
|
||||
localSysDictData ISysDictData
|
||||
@@ -863,6 +904,61 @@ func RegisterSysImNotification(i ISysImNotification) {
|
||||
localSysImNotification = i
|
||||
}
|
||||
|
||||
func SysImAppRelease() ISysImAppRelease {
|
||||
if localSysImAppRelease == nil {
|
||||
panic("implement not found for interface ISysImAppRelease, forgot register?")
|
||||
}
|
||||
return localSysImAppRelease
|
||||
}
|
||||
|
||||
func RegisterSysImAppRelease(i ISysImAppRelease) {
|
||||
localSysImAppRelease = i
|
||||
}
|
||||
|
||||
func SysImAbuseReason() ISysImAbuseReason {
|
||||
if localSysImAbuseReason == nil {
|
||||
panic("implement not found for interface ISysImAbuseReason, forgot register?")
|
||||
}
|
||||
return localSysImAbuseReason
|
||||
}
|
||||
|
||||
func RegisterSysImAbuseReason(i ISysImAbuseReason) {
|
||||
localSysImAbuseReason = i
|
||||
}
|
||||
|
||||
func SysImMailboxConfig() ISysImMailboxConfig {
|
||||
if localSysImMailboxConfig == nil {
|
||||
panic("implement not found for interface ISysImMailboxConfig, forgot register?")
|
||||
}
|
||||
return localSysImMailboxConfig
|
||||
}
|
||||
|
||||
func RegisterSysImMailboxConfig(i ISysImMailboxConfig) {
|
||||
localSysImMailboxConfig = i
|
||||
}
|
||||
|
||||
func SysImFeedbackConfig() ISysImFeedbackConfig {
|
||||
if localSysImFeedbackConfig == nil {
|
||||
panic("implement not found for interface ISysImFeedbackConfig, forgot register?")
|
||||
}
|
||||
return localSysImFeedbackConfig
|
||||
}
|
||||
|
||||
func RegisterSysImFeedbackConfig(i ISysImFeedbackConfig) {
|
||||
localSysImFeedbackConfig = i
|
||||
}
|
||||
|
||||
func SysImWorkbench() ISysImWorkbench {
|
||||
if localSysImWorkbench == nil {
|
||||
panic("implement not found for interface ISysImWorkbench, forgot register?")
|
||||
}
|
||||
return localSysImWorkbench
|
||||
}
|
||||
|
||||
func RegisterSysImWorkbench(i ISysImWorkbench) {
|
||||
localSysImWorkbench = i
|
||||
}
|
||||
|
||||
func SysImTaskDashboard() ISysImTaskDashboard {
|
||||
if localSysImTaskDashboard == nil {
|
||||
panic("implement not found for interface ISysImTaskDashboard, forgot register?")
|
||||
|
||||
Reference in New Issue
Block a user