|
|
@ -19,7 +19,7 @@ namespace UserCenter.Controllers
|
|
|
|
[ApiVersion("1.0")]
|
|
|
|
[ApiVersion("1.0")]
|
|
|
|
[Route("api/v{version:apiVersion}/[controller]/[action]")]
|
|
|
|
[Route("api/v{version:apiVersion}/[controller]/[action]")]
|
|
|
|
[ApiController]
|
|
|
|
[ApiController]
|
|
|
|
public class ApiController : Controller
|
|
|
|
public class ApiController : ControllerBase
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private readonly IHostEnvironment _env;
|
|
|
|
private readonly IHostEnvironment _env;
|
|
|
|
private readonly IConfiguration _configuration;
|
|
|
|
private readonly IConfiguration _configuration;
|
|
|
|