/// <summary> /// 构造函数 /// </summary> public ToolsController( IHttpContextUser user , IWebHostEnvironment webHostEnvironment , ISysUserServices sysUserServices , ISysRoleServices sysRoleServices , ISysMenuServices sysMenuServices , ISysUserRoleServices sysUserRoleServices , ISysOrganizationServices sysOrganizationServices, ICodeGeneratorServices codeGeneratorServices, ISysLoginRecordServices sysLoginRecordServices, ISysNLogRecordsServices sysNLogRecordsServices, IOptions <FilesStorageOptions> filesStorageOptions, ISysRoleMenuServices sysRoleMenuServices) { _user = user; _webHostEnvironment = webHostEnvironment; _sysUserServices = sysUserServices; _sysRoleServices = sysRoleServices; _sysMenuServices = sysMenuServices; _sysUserRoleServices = sysUserRoleServices; _sysOrganizationServices = sysOrganizationServices; _codeGeneratorServices = codeGeneratorServices; _sysLoginRecordServices = sysLoginRecordServices; _sysNLogRecordsServices = sysNLogRecordsServices; _sysRoleMenuServices = sysRoleMenuServices; _filesStorageOptions = filesStorageOptions.Value; }
/// <summary> /// 构造函数 ///</summary> public SysOrganizationController(IWebHostEnvironment webHostEnvironment , ISysOrganizationServices sysOrganizationServices , ISysDictionaryServices sysDictionaryServices , ISysDictionaryDataServices sysDictionaryDataServices ) { _webHostEnvironment = webHostEnvironment; _sysOrganizationServices = sysOrganizationServices; _sysDictionaryServices = sysDictionaryServices; _sysDictionaryDataServices = sysDictionaryDataServices; }
/// <summary> /// 构造函数 /// </summary> public SysUserController(IWebHostEnvironment webHostEnvironment , ISysUserServices sysUserServices , ISysRoleServices sysRoleServices , ISysUserRoleServices sysUserRoleServices , ISysOrganizationServices sysOrganizationServices ) { _webHostEnvironment = webHostEnvironment; _sysUserServices = sysUserServices; _sysRoleServices = sysRoleServices; _sysUserRoleServices = sysUserRoleServices; _sysOrganizationServices = sysOrganizationServices; }