Skip to content

Commit

Permalink
update: nutzboot nutz 到最新版
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizzercn committed May 5, 2023
1 parent 320510d commit 6acb986
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 9 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">
<br/>
<h1>BudWk(原名NutzWk) 开源企业级Java Web开发框架</h1>
<h1>NutzWk(新名BudWk) 开源企业级Java Web开发框架</h1>

[![Gitee GVP](https://gitee.com/wizzer/NutzWk/badge/star.svg?theme=gvp)](https://gitee.com/wizzer/NutzWk)
[![GitHub release](https://img.shields.io/github/release/Wizzercn/NutzWk.svg)](https://github.com/budwk/budwk/releases)
Expand All @@ -11,16 +11,16 @@
<div align="center">

**[官网](https://budwk.com)** |
**[V7演示地址](https://demo.budwk.com)** |
**[V7开发指南](https://budwk.com/docs)** |
**[V8演示地址](https://demo.budwk.com)** |
**[V8开发指南](https://budwk.com/docs)** |
**[V5演示地址](https://nutzwk.wizzer.cn)** |
**[捐赠清单](https://budwk.com/donation)** |

</div>

> 在力所能及的情况下,最大限度的提高Web开发人员的生产力
本项目新版已更名,迁移至:
本项目新版V6-V8,迁移至:


[https://gitee.com/budwk/budwk](https://gitee.com/budwk/budwk)
Expand All @@ -42,7 +42,7 @@

* BudWk-V5 Mini 微服务单应用版本(一个jar或打成war运行),管理后台 jQuery + Vue.js + ElementUI,非常适合个人项目快速开发

* 如果是团队开发或大型项目,推荐使用 BudWk-V7 [https://gitee.com/budwk/budwk](https://gitee.com/budwk/budwk)
* 如果是团队开发或大型项目,推荐使用 BudWk-V8 [https://gitee.com/budwk/budwk](https://gitee.com/budwk/budwk)

* 系统自带多级权限体系、日志系统、缓存系统、定时任务、微信管理、CMS管理、beetl模板语言等基础功能

Expand Down Expand Up @@ -98,6 +98,7 @@ Font-awesome | 字体图标 | [https://fontawesome.com](https://fontawesome.com

# 历史版本

* v8.x - nacos 微服务网关+组件化+API化版本 ```前后端分离,前端 vite + vue3 + Element-Plus + TypeScript```
* v7.x - nacos 微服务网关+组件化+API化版本 ```前后端分离,前端 nuxt + vue + elementUI```
* v6.x - nacos 微服务分布式版本 ```前后端分离,前端 nuxt + vue + elementUI```
* v6.x - zookeeper 微服务分布式版本 ```前后端分离,前端 nuxt + vue + elementUI```
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<packaging>jar</packaging>
<groupId>com.budwk</groupId>
<artifactId>mini</artifactId>
<version>5.5.0-plus</version>
<version>5.6.0-plus</version>

<properties>
<nutzboot.version>2.5.0-SNAPSHOT</nutzboot.version>
<nutz.version>1.r.69-SNAPSHOT</nutz.version>
<nutzboot.version>2.6.0-SNAPSHOT</nutzboot.version>
<nutz.version>1.r.70-SNAPSHOT</nutz.version>
<mysql-connector-java.version>8.0.28</mysql-connector-java.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<slf4j.version>1.7.25</slf4j.version>
Expand All @@ -23,7 +23,7 @@
<pinyin4j.veision>2.5.1</pinyin4j.veision>
<poi.version>4.1.1</poi.version>
<tencentcloud-sdk-java.version>4.0.11</tencentcloud-sdk-java.version>
<lombok.version>1.18.10</lombok.version>
<lombok.version>1.18.18</lombok.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
157 changes: 157 additions & 0 deletions src/main/resources/application-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
nutz:
application:
name: budwk-v5-mini-plus
mvc:
ignore: ^(.+[.])(jsp|png|gif|jpg|js|css|jspx|jpeg|html|mp3|mp4|ico|svg)$
exclusions: /favicon/*,/assets/*,/druid/*,/upload/*
server:
port: 8080
host: 0.0.0.0

jetty:
contextPath: /
threadpool:
idleTimeout: 60000
minThreads: 10
maxThreads: 200
page:
403: /error/403.html
404: /error/404.html
500: /error/500.html
#结合ftp使用,或用nginx代理ftp路径
staticPath: /Users/wizzer/temp/files
#开发模式静态资源
#staticPathLocal: /Users/wizzer/work/java/nutzwk-v5.x-mini-plus/src/main/resources/static

security:
tokenName: token
timeout: 3600
# 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
# 允许同一账号并发登录,则系统参数 SessionOnlyOne 有效,亦可踢人下线并多了弹框提示功能
isConcurrent: true
# 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
isShare: false

redis:
host: 127.0.0.1
port: 6379
timeout: 2000
max_redir: 10
database: 0
maxTotal: 150
pool:
maxTotal: 150
maxIdle: 50
minIdle: 10
password: pass123
mode:
normal
#cluster
#nodes=192.168.6.31:6377,192.168.6.31:6378,192.168.6.28:6377,192.168.6.28:6378,192.168.6.34:6377,192.168.6.34:6378

jdbc:
url: jdbc:mysql://127.0.0.1:3306/budwk_v5_mini?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
# jdbc:oracle:thin:@//localhost:1521/orcl
username: root
password: root
validationQuery: select 1
maxActive: 150
testWhileIdle: true
connectionProperties: druid.stat.slowSqlMillis=2000
defaultAutoCommit: true


xsssql:
ignore:
urls: /platform/cms/content/article/addDo,/platform/sys/app/conf/addDo,/platform/sys/app/conf/editDo

beetl:
RESOURCE:
#本地路径,开发时设置本地路径,便于调试
rootLocal: /Users/wizzer/work/java/nutzwk-v5.x-mini-plus/src/main/resources/views/
root: views/
DELIMITER_STATEMENT_START: '<!--#'
DELIMITER_STATEMENT_END: '#-->'
FT:
#用法: ${"wizzer",escape}
escape: com.budwk.app.web.commons.ext.beetl.HtmlEscapeFormat
#用法: ${10241024,filesize}
filesize: com.budwk.app.web.commons.ext.beetl.FileSizeFormat
#用法: ${"",html2txt="100"} 截取100字符
html2txt: com.budwk.app.web.commons.ext.beetl.Html2TxtFormat
#用法: ${"",strlen="100"} 截取100字符
strlen: com.budwk.app.web.commons.ext.beetl.StrlenFormat

#==============================================================
#Configure Main Scheduler Properties
#==============================================================
#quartz延迟启动秒数
quartz:
startupDelay: 10
scheduler:
instanceName: defaultScheduler
instanceId: AUTO
#==============================================================
#Skip Check Update
#update:true
#not update:false
#==============================================================
skipUpdateCheck: true
#==============================================================
#Configure JobStore isClustered=启用集群模式
#==============================================================
jobStore:
class: org.quartz.impl.jdbcjobstore.JobStoreTX
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
#driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
#driverDelegateClass: org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
#Other delegates can see: http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-09.html
dataSource: myDS
tablePrefix: SYS_QRTZ_
isClustered: false
clusterCheckinInterval: 20000
maxMisfiresToHandleAtATime: 120
misfireThreshold: 120000
txIsolationLevelSerializable: false

#==============================================================
#Configure ThreadPool
#==============================================================
threadPool:
class: org.quartz.simpl.SimpleThreadPool
threadCount: 2
threadPriority: 5
threadsInheritContextClassLoaderOfInitializingThread: true

#============================================================================
# Configure Plugins
#============================================================================
plugin:
triggHistory:
class: org.quartz.plugins.history.LoggingJobHistoryPlugin
shutdownhook:
class: org.quartz.plugins.management.ShutdownHookPlugin
cleanShutdown: true
#============================================================================
# NutDao dataSource
#============================================================================
dataSource:
myDS:
connectionProvider:
class: com.budwk.app.task.conn.NutConnectionProvider


sms:
enabled: false
#腾讯云短信配置
tencent:
secret-id: 1
secret-key: 2
appid: 1 #应用ID
sign: '萌发开源' #短信签名
tpl:
#验证码模板ID
code: 1
#短信通知模板ID
msg: 2

0 comments on commit 6acb986

Please sign in to comment.