fix analysis
This commit is contained in:
@@ -97,6 +97,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
Path: "/agent-withdrawal/list",
|
||||
Handler: admin_agent.AdminGetAgentWithdrawalListHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/agent-withdrawal/statistics",
|
||||
Handler: admin_agent.AdminGetWithdrawalStatisticsHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/list",
|
||||
@@ -309,6 +314,12 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
Path: "/list",
|
||||
Handler: admin_order.AdminGetOrderListHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
// 获取退款统计数据
|
||||
Method: http.MethodGet,
|
||||
Path: "/refund-statistics",
|
||||
Handler: admin_order.AdminGetRefundStatisticsHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
// 订单退款
|
||||
Method: http.MethodPost,
|
||||
@@ -321,6 +332,12 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
Path: "/retry-agent-process/:id",
|
||||
Handler: admin_order.AdminRetryAgentProcessHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
// 获取收入和利润统计数据
|
||||
Method: http.MethodGet,
|
||||
Path: "/revenue-statistics",
|
||||
Handler: admin_order.AdminGetRevenueStatisticsHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
// 更新订单
|
||||
Method: http.MethodPut,
|
||||
|
||||
Reference in New Issue
Block a user