# next-components **Repository Path**: lsrztt/next-components ## Basic Information - **Project Name**: next-components - **Description**: springboot 常用组件启动加载,基于springboot 2.3.5进行,包括全局序列化生成,groovy脚本加载,适配redis,class,db等, redis集成分布式锁或缓存队列通知等高级应用,基于阿里云oss和阿里云ons消息队列集成,同时优化logback进行日志选择性脱敏,并区分环境进行打印 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-12-02 - **Last Updated**: 2025-12-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # next-components #### 介绍 springboot 常用组件启动加载,基于springboot 2.3.5进行,包括全局序列化生成,groovy脚本加载,适配redis,class,db等, redis集成分布式锁或缓存队列通知等高级应用,基于阿里云oss和阿里云ons消息队列集成,同时优化logback进行日志选择性脱敏,并区分环境进行打印 #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 分支说明 1. develop 基于jdk8 springboot 2.3.5 或2.7.6 进行。 不支持3.*版本 2. ai 分支 基于jdk17及以上 springboot3.3.* 或更高版本 # 在启动的时候,application.yml中的配置 ksvip: groovy: engine: enable: true #true启动groovy引擎,如不需要可设置false或不用配置 mysql-loader: #启用mysql数据库加载groovy 如果redis可以参考设置即可 enable: true redis: host: 127.0.0.1 password: 123456 port: 6379 server: port: 8080 servlet: context-path: / encoding: charset: UTF-8 enabled: true force: true spring: datasource: driver-class-name: com.mysql.jdbc.Driver password: 123456 url: jdbc:mysql://localhost:3306/design?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&nullCatalogMeansCurrent=true username: root global: redis-open: true ***** logback参考配置并引入即可 System.out UTF-8 ${pattern_format} ${logging.path}/${logging.infoAppender.fileName}.log ${logging.path}/${logging.infoAppender.fileName}-%d{yyyy-MM-dd}.log 365 UTF-8 ${pattern_format} true 0 2048 ${logging.path}/${logging.errorAppender.fileName}.log ERROR ${logging.path}/${logging.errorAppender.fileName}-%d{yyyy-MM-dd}.log 365 UTF-8 ${pattern_format} true 0 2048 ${logging.path}/${logging.bizAppender.fileName}.log INFO ${logging.path}/${logging.bizAppender.fileName}-%d{yyyy-MM-dd}.log 30 %msg%n true 0 2048 > #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)