/// <summary> /// 构造函数 /// </summary> /// <param name="apiAuthorize">IApiAuthorize</param> /// <param name="appCfgService">IAppConfigService</param> protected AuthorizeController(IApiAuthorize apiAuthorize, IAppConfigService appCfgService) { ValidateOperator.Begin() .NotNull(apiAuthorize, "IApiAuthorize") .NotNull(appCfgService, "IAppConfigService"); ApiAuthorize = apiAuthorize; AppCfgService = appCfgService; }
public AccountController(IApiAuthorize apiAuthorize, IAppConfigService appCfgService) : base( apiAuthorize, appCfgService) { }