添加命令数据验证和其他杂项修改

This commit is contained in:
2021-02-24 16:28:08 +08:00
parent 12ecdf3159
commit 41794aa1bc
32 changed files with 310 additions and 484 deletions

View File

@@ -10,6 +10,7 @@ using Microsoft.Extensions.Logging;
namespace QRCodeService.Controllers
{
[Route("[controller]/[action]")]
[ApiController]
public class PlaygroundController:ControllerBase
{
private readonly ILogger<PlaygroundController> logger;
@@ -18,7 +19,7 @@ namespace QRCodeService.Controllers
{
this.logger = logger;
}
[HttpGet]
public IActionResult GenShortCode(string url)
{
logger.LogInformation("duduledule");