upgrade to .net 8
This commit is contained in:
@@ -12,14 +12,9 @@ namespace Blahblah.FlowerStory.Server.Controller;
|
||||
[ApiController]
|
||||
[Produces("application/json")]
|
||||
[Route("api/comment")]
|
||||
public class CommentApiController : BaseController
|
||||
public class CommentApiController(FlowerDatabase database, ILogger<CommentApiController>? logger = null) : BaseController<CommentApiController>(database, logger)
|
||||
{
|
||||
static readonly int?[] specialTypes = { 1, 2, 3 };
|
||||
|
||||
/// <inheritdoc/>
|
||||
public CommentApiController(FlowerDatabase database, ILogger<BaseController>? logger = null) : base(database, logger)
|
||||
{
|
||||
}
|
||||
static readonly int?[] specialTypes = [1, 2, 3];
|
||||
|
||||
/// <summary>
|
||||
/// 获取符合条件的评论
|
||||
|
Reference in New Issue
Block a user