添加命令数据验证和其他杂项修改
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user