feat(channel): 支持安全删除渠道并保留历史数据
CI / Frontend (typecheck + lint + build) (push) Successful in 5m31s
CI / Backend (go vet + test) (push) Failing after 11m10s

This commit is contained in:
yml2213
2026-11-06 18:36:07 +08:00
parent 6297ea6634
commit de1ffbf4f6
10 changed files with 135 additions and 23 deletions
+1
View File
@@ -139,6 +139,7 @@ func SetupRoutes(r *gin.Engine, store storage.ObjectStorage, storageCfg config.S
channels.GET("", channel.List)
channels.POST("", middleware.RequirePermission("settings.channel"), channel.Create)
channels.PUT("/:id", middleware.RequirePermission("settings.channel"), channel.Update)
channels.DELETE("/:id", middleware.RequirePermission("settings.channel"), channel.Delete)
// 租户系统设置
settingsGroup := authRequired.Group("/settings")