/// <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 SysUserRoleController(IWebHostEnvironment webHostEnvironment , ISysUserRoleServices sysUserRoleServices ) { _webHostEnvironment = webHostEnvironment; _sysUserRoleServices = sysUserRoleServices; }
/// <summary> /// 构造函数 /// </summary> public SysUserController(IWebHostEnvironment webHostEnvironment , ISysUserServices sysUserServices , ISysRoleServices sysRoleServices , ISysUserRoleServices sysUserRoleServices , ISysOrganizationServices sysOrganizationServices ) { _webHostEnvironment = webHostEnvironment; _sysUserServices = sysUserServices; _sysRoleServices = sysRoleServices; _sysUserRoleServices = sysUserRoleServices; _sysOrganizationServices = sysOrganizationServices; }