添加项目文件。
This commit is contained in:
25
Atomx.WebAPI/Controllers/AreaController.cs
Normal file
25
Atomx.WebAPI/Controllers/AreaController.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Atomx.WebAPI.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// 国家地区省份API
|
||||
/// </summary>
|
||||
[Route("api/[controller]")]
|
||||
[ApiController]
|
||||
public class AreaController : ControllerBase
|
||||
{
|
||||
public AreaController() { }
|
||||
|
||||
/// <summary>
|
||||
/// 获取国家列表信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("country")]
|
||||
public IActionResult GetCountry()
|
||||
{
|
||||
return new ContentResult();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user