This commit is contained in:
Mrx
2026-06-04 18:13:55 +08:00
parent 932f2773d4
commit a79c464329
5 changed files with 128 additions and 0 deletions

View File

@@ -491,6 +491,12 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/detail/:order_id",
Handler: admin_query.AdminGetQueryDetailByOrderIdHandler(serverCtx),
},
{
// 生成报告分享链接(供后台预览 H5
Method: http.MethodPost,
Path: "/generate_share_link",
Handler: admin_query.AdminGenerateQueryShareLinkHandler(serverCtx),
},
}...,
),
rest.WithPrefix("/api/v1/admin/query"),