# Admin.Core **Repository Path**: myzhangxiaohu/Admin.Core ## Basic Information - **Project Name**: Admin.Core - **Description**: 中台Admin前后端分离的权限管理系统。支持多租户、数据权限、动态Api、任务调度、OSS文件上传、滑块拼图验证、国内外主流数据库自由切换和动态高级查询。基于.Net跨平台开发的WebApi。集成统一认证授权、事件总线、数据验证、分布式缓存、分布式事务、Ip限流、全Api鉴权、集成测试、性能分析、健康检查、接口文档等。 - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: https://admin.zhontai.net - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 406 - **Created**: 2024-10-05 - **Last Updated**: 2024-10-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
#### 🌈 Introduction Based on technologies such as .NET 8.0, FreeSql full stack, Autofac, CAP, and Mapster, we have developed a front-end and back-end separated backend permission management system. With a development philosophy of anticipating your needs, we aim to reduce workload and help everyone achieve rapid development. Developed using FreeSql ORM, the system supports mainstream databases both domestically and internationally, read-write separation, table and database sharding, distributed transactions TCC/SAGA, and other features. Upon starting the project, the database is automatically generated, and the CodeFirst model supports automatic synchronization of table structures and permission data from entity configurations to the database. The new version of the Swagger interface documentation provides easier interface reading and testing. #### ⛱️ Online preview - Admin.Core v3 version preview https://admin.zhontai.net #### 💒 Code repository - Admin.Core v3 version https://github.com/zhontai/Admin.Core #### 🚀 Feature introduction 1. User Management: Configure users, view departmental user lists, supports disabling/enabling, password resets, setting supervisors, users can be assigned multiple roles, departments, and higher-level supervisors. 2. Role Management: Configure roles, supports role grouping, setting role menus and data permissions, bulk adding and removing role members. 3. Department Management: Configure departments, supports tree-view list display. 4. Permission Management: Configure groups, menus, actions, permission points, and permission identifiers, supports tree-view list display. 5. Tenant Packages: Configure tenant packages, supports adding/removing package enterprises. 6. Tenant Management: Configure tenants, initialize department, role, and administrator data when adding new tenants, supports tenant package configuration, disabling/enabling features. 7. Dictionary Management: Configure dictionaries, view dictionary types and dictionary data lists, supports maintenance of dictionary types and dictionary data, can export dictionary subclass data. 8. Task Scheduling: View task and task log lists, supports adding new tasks, modifying, starting, executing, pausing, copying tasks, and viewing logs. 9. Cache Management: Query cache lists, supports clearing caches based on cache keys. 10. Interface Management: Configure interfaces, supports interface synchronization for adding permission points and selecting interfaces, supports tree-view list display. 11. View Management: Configure views, supports view maintenance for adding menus and selecting views, supports tree-view list display. 12. File Management: Supports file list queries, file uploads/downloads, viewing large images, copying file addresses, and deleting files. 13. Regional Management: managing and querying regions, supporting the disabling/enabling of regions, setting/canceling popular regions, and one-click synchronization of statistical bureau's regional data. 14. Login Logs: Query login log lists, records user successful and failed login attempts. 15. Operation Logs: Query operation log lists, records user normal and abnormal operation logs. #### ⚡ Usage instructions > Using the latest version of .NET .Net version > 7.0+ Create a new project using the source code of an existing project. ```bash # Clone a project git clone https://github.com/zhontai/Admin.Core.git # Enter the project cd Admin.Core # Open the project Open the ZhonTai.sln solution # Run the project Set ZhonTai.Host as the startup project, press Ctrl + F5 to build and run the project directly without debugging Alternatively, navigate to the ZhonTai.Host directory in Command Prompt (cmd) and enter the dotnet run command to execute the project. # Package and Publish Select ZhonTai.Host, then right-click and choose Publish from the context menu. ``` Create a new project using a project template. ```bash # Installation template dotnet new install ZhonTai.Template # View help dotnet new MyApp -h # New the project dotnet new MyApp -n MyCompanyName.MyProjectName # Run the project Set MyCompanyName.MyProjectName.Host as the startup project, press Ctrl + F5 to compile and run the project directly (without debugging) Alternatively, navigate to the 'MyCompanyName.MyProjectName.Host' directory in Command Prompt (cmd) and enter the 'dotnet run' command to execute the project. # Package and Publish Select MyCompanyName.MyProjectName.Host, then right-click and choose Publish from the context menu. ``` #### 📚 Development documentation - View development documentation:https://zhontai.net #### 💯 Join a QQ group for learning and communication > Zhontai Admin development group (2000-member capacity) - QQ Group Number:1058693879