添加项目文件。
This commit is contained in:
33
Atomx.WebAPI/Controllers/SignController.cs
Normal file
33
Atomx.WebAPI/Controllers/SignController.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Atomx.WebAPI.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// 登录注册API
|
||||
/// </summary>
|
||||
[Route("api/[controller]")]
|
||||
[ApiController]
|
||||
public class SignController : ControllerBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 登录
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost("sign/in")]
|
||||
public IActionResult SignIn()
|
||||
{
|
||||
return new ContentResult();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 注册
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost("sign/up")]
|
||||
public IActionResult SignUp()
|
||||
{
|
||||
return new ContentResult();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user