feat: expand superadmin edits and minio docs
This commit is contained in:
@@ -113,6 +113,22 @@ type SuperNotificationTemplateCreateForm struct {
|
||||
IsActive *bool `json:"is_active"`
|
||||
}
|
||||
|
||||
// SuperNotificationTemplateUpdateForm 超管通知模板更新参数。
|
||||
type SuperNotificationTemplateUpdateForm struct {
|
||||
// TenantID 租户ID(不传代表不修改租户归属)。
|
||||
TenantID *int64 `json:"tenant_id"`
|
||||
// Name 模板名称(可选)。
|
||||
Name *string `json:"name"`
|
||||
// Type 通知类型(system/order/audit/interaction,可选)。
|
||||
Type *consts.NotificationType `json:"type"`
|
||||
// Title 通知标题(可选)。
|
||||
Title *string `json:"title"`
|
||||
// Content 通知内容(可选)。
|
||||
Content *string `json:"content"`
|
||||
// IsActive 是否启用(可选)。
|
||||
IsActive *bool `json:"is_active"`
|
||||
}
|
||||
|
||||
// SuperNotificationTemplateItem 超管通知模板条目。
|
||||
type SuperNotificationTemplateItem struct {
|
||||
// ID 模板ID。
|
||||
|
||||
Reference in New Issue
Block a user