🚧 developing...

This commit is contained in:
2025-02-24 17:10:53 +08:00
parent a26f0a5583
commit 693ed8755c
10 changed files with 250 additions and 0 deletions

View File

@@ -163,6 +163,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
rest.WithMiddlewares(
[]rest.Middleware{serverCtx.SecurityHeadersMiddleware, serverCtx.NonceMiddleware},
[]rest.Route{
{
Method: http.MethodPost,
Path: "/share/upload",
Handler: phone.SharePhoneUploadHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/upload",
@@ -194,6 +199,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/overview",
Handler: share.QueryShareOverviewHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/record/delete",
Handler: share.DeleteShareRecordHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/record/list",