fix add
This commit is contained in:
@@ -52,6 +52,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
Path: "/agent-link/list",
|
||||
Handler: admin_agent.AdminGetAgentLinkListHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/agent-link/product-statistics",
|
||||
Handler: admin_agent.AdminGetAgentLinkProductStatisticsHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/agent-membership-config/list",
|
||||
@@ -348,6 +353,18 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
Path: "/revenue-statistics",
|
||||
Handler: admin_order.AdminGetRevenueStatisticsHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
// 获取订单来源统计数据
|
||||
Method: http.MethodGet,
|
||||
Path: "/source-statistics",
|
||||
Handler: admin_order.AdminGetOrderSourceStatisticsHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
// 获取订单统计数据
|
||||
Method: http.MethodGet,
|
||||
Path: "/statistics",
|
||||
Handler: admin_order.AdminGetOrderStatisticsHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
// 更新订单
|
||||
Method: http.MethodPut,
|
||||
|
||||
Reference in New Issue
Block a user