fix add 修改钱包余额

This commit is contained in:
2026-01-04 16:10:47 +08:00
parent ba2624e310
commit 64b758a36d
12 changed files with 387 additions and 71 deletions

View File

@@ -137,6 +137,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/wallet/:agent_id",
Handler: admin_agent.AdminGetAgentWalletHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/wallet/update-balance",
Handler: admin_agent.AdminUpdateAgentWalletBalanceHandler(serverCtx),
},
}...,
),
rest.WithPrefix("/api/v1/admin/agent"),