This commit is contained in:
2025-05-04 22:11:28 +08:00
parent 09afa239a6
commit b7eb0f9a68
69 changed files with 344 additions and 178 deletions

View File

@@ -1,8 +1,8 @@
namespace Yes.Blog.Endpoints.Admins.Comments
{
public class GetLatestCommentsEndpoint : AdminEndpointScheme, IEndpoint
public class GetLatestCommentsEndpoint : CommentEndpointScheme, IEndpoint
{
public void Map(IEndpointRouteBuilder app) => app.MapGet("/comments/Latest", Handle);
public void Map(IEndpointRouteBuilder app) => app.MapGet("/comments/latest", Handle);