This commit is contained in:
2026-02-27 15:54:04 +08:00
parent 03a6207ad0
commit 11c1391f06
2 changed files with 14 additions and 5 deletions

View File

@@ -656,6 +656,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/info",
Handler: agent.GetAgentInfoHandler(serverCtx),
},
{
Method: http.MethodGet,
Path: "/invite/poster",
Handler: agent.GetInvitePosterHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/invite_code/delete",
@@ -676,11 +681,6 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/invite_link",
Handler: agent.GetInviteLinkHandler(serverCtx),
},
{
Method: http.MethodGet,
Path: "/invite/poster",
Handler: agent.GetInvitePosterHandler(serverCtx),
},
{
Method: http.MethodGet,
Path: "/level/privilege",