You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
405 B
C#

2 years ago
using DS.Module.Core;
using DS.Module.User;
using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.WebApi.Controllers;
/// <summary>
/// WebApi控制器基类
/// </summary>
//[Authorize]
[ApiController]
[Route("api/[controller]")]
public abstract class ApiController : Controller
{
/// <summary>
/// 获取用户信息
/// </summary>
public UserInfo UserDetails => Request.GetUserInfo();
}