This commit is contained in:
2025-12-24 17:38:08 +08:00
parent e1fdf7e77f
commit d633c6741e
15 changed files with 1162 additions and 34 deletions

View File

@@ -87,6 +87,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/agent-reward/list",
Handler: admin_agent.AdminGetAgentRewardListHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/agent-withdrawal/bank-card/review",
Handler: admin_agent.AdminReviewBankCardWithdrawalHandler(serverCtx),
},
{
Method: http.MethodGet,
Path: "/agent-withdrawal/list",
@@ -765,6 +770,16 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/withdrawal",
Handler: agent.AgentWithdrawalHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/withdrawal/bank-card",
Handler: agent.BankCardWithdrawalHandler(serverCtx),
},
{
Method: http.MethodGet,
Path: "/withdrawal/bank-card/info",
Handler: agent.GetBankCardInfoHandler(serverCtx),
},
{
Method: http.MethodGet,
Path: "/withdrawal/tax/exemption",