|
|
@ -1,11 +1,11 @@ |
|
|
|
using BBWYB.Server.Business; |
|
|
|
using BBWYB.Server.Model.Db; |
|
|
|
using Microsoft.AspNetCore.Http; |
|
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
|
|
|
|
|
namespace BBWYB.Server.API.Controllers |
|
|
|
{ |
|
|
|
|
|
|
|
[Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)] |
|
|
|
public class UserController : BaseApiController |
|
|
|
{ |
|
|
|
private UserBusiness userBusiness; |
|
|
|