{"id":15349992,"url":"https://github.com/wangchengming666/spring-boot-web","last_synced_at":"2025-08-20T10:32:42.567Z","repository":{"id":37101753,"uuid":"155822002","full_name":"wangchengming666/spring-boot-web","owner":"wangchengming666","description":"Spring Boot脚手架工程","archived":false,"fork":false,"pushed_at":"2024-11-07T18:06:46.000Z","size":7277,"stargazers_count":36,"open_issues_count":1,"forks_count":19,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-10T00:42:15.617Z","etag":null,"topics":["casbin","maven","mybatis-plus","shiro","spring-boot","thymeleaf"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wangchengming666.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-02T06:12:32.000Z","updated_at":"2024-10-23T02:06:02.000Z","dependencies_parsed_at":"2024-10-16T01:40:58.846Z","dependency_job_id":"87c27a1c-9fbf-4f1a-b809-ed2b8cee774d","html_url":"https://github.com/wangchengming666/spring-boot-web","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":"0.43333333333333335","last_synced_commit":"5aa27760250f6087b2590546db16093179e0d480"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangchengming666%2Fspring-boot-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangchengming666%2Fspring-boot-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangchengming666%2Fspring-boot-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangchengming666%2Fspring-boot-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangchengming666","download_url":"https://codeload.github.com/wangchengming666/spring-boot-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230415318,"owners_count":18222158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["casbin","maven","mybatis-plus","shiro","spring-boot","thymeleaf"],"created_at":"2024-10-01T11:56:38.488Z","updated_at":"2024-12-19T10:10:04.040Z","avatar_url":"https://github.com/wangchengming666.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"- 概要 \n\n这是基于`spring boot 2.0 + MyBatisPlus 3.0`的轻量级后台管理系统，适用于中小型项目的管理后台。该系统具有基本的用户管理、角色管理、系统日志等最基本的功能，个人和企业可以在此基础上进行开发、扩展、添加各自的需求和业务功能。\n\n- 简介\n\n  - URL组成：`protocol://hostname[:port] / contextPath / servlet / Controller?query`\n\n - URLs 路径规划(适合小中型项目）\n    - /favicon.ico\tFavorites Icon 网点图标，不需权限\n    - /resource/*\t静态资源 在framework/src/main/webapp/resource目录下，会打包到war中，不能修改，只能读取\n    - /webfile/* | /static/*\t静态资源 在配置文件的${framework.filePath}+/+webfile目录下，可动态管理, 不会打包到war中,静态资源也可移到nginx\n    - /admin/*\t后台管理功能，只能是用户使用，权限控制到用户，通过账号，认证得到权限，不能当为第三方系统访问\n    - /api/*\t第三系统接入，只能是系统访问,通过appKey,appSecret获取权限\n    - /*\t网点主体，用户使用，权限控制到用户，通过spring mvc自定义方法解释，需要权限就拿用户\n\n- 技术选型\n\n    | 技术        | 名称    |  版本  |\n    | --------   |---|---|\n    | spring boot        | 应用框架      |   2.0.4.RELEASE    |\n    | Shiro        | 安全框架      |   1.4    |\n    | MyBatisPlus        | ORM框架      |   3.0    |\n    | quartz        | 任务调度      |   2.3.0    |\n    | casbin        | 认证      |   1.1.0    |\n    | fastjson        | 阿里的利器      |   1.2.18    |\n    | HikariCP        | spring boot自带的连接池      |   2.7.8    |\n    | thymeleaf        | 前端模板      |   3.0    |\n    | apache.commons       | 工具包     |   3.7    |\n    | hutool       | 工具包，主要用http相关     |   4.4.0    |\n    | jasypt       | 加密解密用     |   1.9.2   |            \n\n- 包含的模块\n\n    | 模块名称        | 说明    |\n    | --------   |---|\n    | framework        | 主体      |\n    | framework-client        | Authentication相关     |\n    | framework-common        | 共同模块相关，filter、token、listener、jwt等      |\n    | framework-core        | 核心，controller相关     |\n    | framework-generator        | Mybatis Plus 代码生成工具      |\n    | framework-tools        | 工具模块     |\n\n- E-R图\n\n\u003cimg width=\"520\" alt=\"2019-01-27 12 30 12\" src=\"https://user-images.githubusercontent.com/17539174/51813908-a1e44600-22f3-11e9-97d6-2a4594899c76.png\"\u003e\n\n\n- 运行环境\n  - JDK1.8+\n  - MySQL5.6+\n  - Maven3.0+\n  \n- 关于casbin\n  - 认证 (authentication) 和授权 (authorization)\n    - 认证( authentication)，简写authc\n    \n    who you are(你是谁) 其实大多数系统都会有用户认证，因为大多数系统都有用户的存在，有用户使用系统就要登录。通常我们使用的用户认证也就是通过验证用户名和密码是否正确。或者再常用的是使用指纹打卡机。系统验证了用户身份的合法性，用户就可访问系统的资源。但是想要不同用户有资源，就引出了用户授权。\n    - 授权  (authorization)，简写 authz\n    \n    what can you do(你可以做什么) 用户授权就是对用户所能访问的资源进程控制。授权过程可以理解为：who对what进行how操作。\n    \n  - casbin 是一个强大的、高效的开源访问控制框架，其权限管理机制支持多种访问控制模型。\n  - Casbin 做了什么\n    - 支持自定义请求的格式，默认的请求格式为{subject, object, action}。\n    - 具有访问控制模型model和策略policy两个核心概念。\n    - 支持RBAC中的多层角色继承，不止主体可以有角色，资源也可以具有角色。\n    - 支持超级用户，如 root 或 Administrator，超级用户可以不受授权策略的约束访问任意资源。\n    - 支持多种内置的操作符，如 keyMatch，方便对路径式的资源进行管理，如 /foo/bar 可以映射到 /foo*\n    \n- 参考\n  - https://github.com/ueboot/ueboot\n  - https://github.com/cjbi/wetech-admin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangchengming666%2Fspring-boot-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangchengming666%2Fspring-boot-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangchengming666%2Fspring-boot-web/lists"}