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