fix add 修改钱包余额
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user