as is
This commit is contained in:
@@ -26,6 +26,14 @@ public static class Product
|
||||
return routes;
|
||||
}
|
||||
|
||||
public static RouteGroupBuilder MapProductAnonymous(this RouteGroupBuilder routes)
|
||||
{
|
||||
routes.MapGet("/product/search", SearchProductsAsync)
|
||||
.WithTags(OpenApiTags.商品.ToString());
|
||||
|
||||
return routes;
|
||||
}
|
||||
|
||||
private static async
|
||||
Task<ApiResponse<PagedResult<Services.Models.Resp.Product>>>
|
||||
SearchProductsAsync(
|
||||
|
||||
Reference in New Issue
Block a user