SysUserController.cs 763 B

1234567891011121314151617181920212223242526272829303132
  1. using ERP.Core.Service;
  2. using ERP.Framework.WebApi;
  3. using Microsoft.AspNetCore.Mvc;
  4. using Microsoft.Extensions.Configuration;
  5. using Serilog;
  6. namespace ERP.Core.Controller
  7. {
  8. [Route("sys-user")]
  9. public class SysUserController : BaseController
  10. {
  11. private readonly IConfiguration _configuration;
  12. private readonly AuthService _authService;
  13. public SysUserController(IConfiguration configuration, AuthService authService)
  14. {
  15. _configuration = configuration;
  16. _authService = authService;
  17. }
  18. [HttpGet]
  19. public IActionResult Test()
  20. {
  21. Log.Debug("123");
  22. var m = GetType().Name;
  23. var c = "";
  24. return Success();
  25. }
  26. }
  27. }