refactor(account): 优化账号管理模块结构

This commit is contained in:
2026-01-14 17:10:07 +08:00
parent b1195c16df
commit 2857175266
2 changed files with 5 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ func registerPlatformAccountRoutes(api fiber.Router, h *admin.AccountHandler, do
Output: new([]model.Role),
})
Register(platformAccounts, doc, groupPath, "DELETE", "/:id/roles/:role_id", h.RemoveRole, RouteSpec{
Register(platformAccounts, doc, groupPath, "DELETE", "/:account_id/roles/:role_id", h.RemoveRole, RouteSpec{
Summary: "移除角色",
Tags: []string{"PlatformAccount"},
Input: new(model.RemoveRoleParams),