登录记录日志新增title

This commit is contained in:
不做码农 2023-03-03 20:13:29 +08:00
parent 3b476bb56a
commit 35ee16d0ac

View File

@ -67,7 +67,7 @@ namespace ZR.Admin.WebApi.Controllers.System
/// <returns></returns> /// <returns></returns>
[Route("login")] [Route("login")]
[HttpPost] [HttpPost]
//[Log(Title = "登录")] [Log(Title = "登录")]
public IActionResult Login([FromBody] LoginBodyDto loginBody) public IActionResult Login([FromBody] LoginBodyDto loginBody)
{ {
if (loginBody == null) { throw new CustomException("请求参数错误"); } if (loginBody == null) { throw new CustomException("请求参数错误"); }