提交 17930866 作者: 方治民

chore: upgrade deps

上级 8d9687f1
......@@ -41,5 +41,5 @@ npm cache clean --force
- [x] 通用文件上传模块,支持对图片/PDF/MP3/MP4 等文件进行预处理
- [x] XXL-JOB 定时任务模块
- [x] 大文件分片上传
- [x] 更合理的模块拆分,更好的模块解耦
- [ ] 文件上传扩展支持本地、MinIO、阿里云 OSS、腾讯云 COS 等 [x-file-storage](https://github.com/dromara/x-file-storage)
- [ ] 更合理的模块拆分,更好的模块解耦
# 环境变量
env:
host: 127.0.0.1
prod: false
props:
username: admin
password: Hd)XZgtCa&NG~oe@
spring:
datasource:
url: jdbc:mysql://${env.host}:3306/basic_app?useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: ${env.props.username}
password: ${env.props.password}
jpa:
database-platform: org.hibernate.dialect.MySQL8Dialect
open-in-view: true
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate:
format_sql: true
data:
redis:
database: 5
port: 6379
host: ${env.host}
password: ${env.props.password}
# knife4j
knife4j:
enable: true
setting:
enableOpenApi: false
enableDebug: true
# minio
minio:
access-key: ${env.props.username}
secret-key: ${env.props.password}
end-point: "http://${env.host}:18100"
bucket: public
domain: ${minio.end-point}
logging:
level:
# sql bind parameter
org.hibernate.type.descriptor.sql.BasicBinder: trace
# request log
com.yiring.common.aspect.RequestAspect: info
......@@ -39,11 +39,11 @@ ext {
// https://central.sonatype.com/artifact/com.github.xiaoymin/knife4j-openapi3-jakarta-spring-boot-starter
knife4jOpen3Version = '4.5.0'
// https://central.sonatype.com/artifact/io.swagger.core.v3/swagger-annotations
swaggerAnnotationsVersion = '2.2.22'
swaggerAnnotationsVersion = '2.2.23'
// https://central.sonatype.com/artifact/cn.dev33/sa-token-spring-boot3-starter
saTokenVersion = '1.38.0'
saTokenVersion = '1.39.0'
// https://central.sonatype.com/artifact/cn.hutool/hutool-core
hutoolVersion = '5.8.31'
hutoolVersion = '5.8.32'
// https://central.sonatype.com/artifact/com.alibaba.fastjson2/fastjson2
fastJsonVersion = '2.0.52'
// https://central.sonatype.com/artifact/com.xuxueli/xxl-job-core
......@@ -55,7 +55,7 @@ ext {
// https://central.sonatype.com/artifact/org.hibernate.orm/hibernate-spatial
hibernateSpatialVersion = '6.5.2.Final'
// https://central.sonatype.com/artifact/org.locationtech.jts/jts-core
jtsVersion = '1.19.0'
jtsVersion = '1.20.0'
// https://mvnrepository.com/artifact/org.n52.jackson/jackson-datatype-jts
jacksonDatatypeJtsVersion = '1.2.10'
// https://central.sonatype.com/artifact/com.github.liaochong/myexcel
......
......@@ -51,7 +51,7 @@ public class AuthExceptionHandler {
NotRoleException.class,
NotPermissionException.class,
// https://sa-token.dev33.cn/doc.html#/up/basic-auth
NotBasicAuthException.class,
NotHttpBasicAuthException.class,
// https://sa-token.dev33.cn/doc.html#/up/disable
DisableServiceException.class,
ApiDisabledException.class,
......@@ -67,7 +67,7 @@ public class AuthExceptionHandler {
if (e instanceof NotPermissionException) {
return Result.no(Status.FORBIDDEN, "Code.10002");
}
if (e instanceof NotBasicAuthException) {
if (e instanceof NotHttpBasicAuthException) {
return Result.no(Status.FORBIDDEN, "Code.10003");
}
......
//pluginManagement {
// repositories {
// maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
// gradlePluginPortal()
// }
//}
pluginManagement {
repositories {
maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
gradlePluginPortal()
}
}
plugins {
// https://plugins.gradle.org/plugin/org.danilopianini.gradle-pre-commit-git-hooks
id "org.danilopianini.gradle-pre-commit-git-hooks" version "2.0.7"
id "org.danilopianini.gradle-pre-commit-git-hooks" version "2.0.12"
}
rootProject.name = 'basic-api-boot'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论