/// <summary> /// 构造函数 依赖注入 /// </summary> /// <param name="mediator"></param> public UserController(IMediator mediator, IOptionsMonitor <BaseReceiveParame> wxConfig) { this._mediator = mediator; this._wxConfig = wxConfig.CurrentValue; }
public UserAuthTokenController(IOptionsMonitor <BaseReceiveParame> wxConfig) { this._wxConfig = wxConfig.CurrentValue; }