添加权限
This commit is contained in:
parent
3ee3d60539
commit
fb2b27328f
|
|
@ -114,6 +114,7 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
|
[Authorize]
|
||||||
public async Task<BaseResponse<bool>> Logout()
|
public async Task<BaseResponse<bool>> Logout()
|
||||||
{
|
{
|
||||||
UserBLL userBLL = new UserBLL(ServiceProvider);
|
UserBLL userBLL = new UserBLL(ServiceProvider);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user