public TokenModelBinder(ITokenVerify tokenService, IUserService accountService) { _tokenService = tokenService; _userService = accountService; }
public LoginController(ITokenVerify tokenService, IUserService userService) { _tokenService = tokenService; _userService = userService; }
/// <summary> /// IOC注入 /// </summary> /// <param name="tokenService"></param> /// <param name="accountService"></param> public AccountController(ITokenVerify tokenService, IAccountService accountService) { _tokenService = tokenService; _accountService = accountService; }
public TokenModelBinderProvider(ITokenVerify tokenService, IAccountService accountService) { _tokenService = tokenService; _accountService = accountService; }