From 02caafae2b79014638a5f95824bb3f3efe83c3a2 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期日, 02 三月 2025 22:20:50 +0800
Subject: [PATCH] 工程
---
start/src/main/resources/application.yml | 28 +++++++++++++++++++---------
1 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/start/src/main/resources/application.yml b/start/src/main/resources/application.yml
index 37eb455..3f36860 100644
--- a/start/src/main/resources/application.yml
+++ b/start/src/main/resources/application.yml
@@ -3,10 +3,11 @@
mybatis-plus:
mapper-locations: classpath*:mapper/**/*.xml
# 瀹炰綋鎵弿锛屽涓猵ackage鐢ㄩ�楀彿鎴栬�呭垎鍙峰垎闅�
- typeAliasesPackage: com.hnct.**.domain
+ typeAliasesPackage: com.ycl.**.domain
configuration:
- default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler # 閫氱敤鏋氫妇澶勭悊鍣�
- # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 鏃ュ織鎵撳嵃
+ shrink-whitespaces-in-sql: true #浠嶴QL涓垹闄ゅ浣欑殑绌烘牸瀛楃
+ default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler # 閫氱敤鏋氫妇澶勭悊鍣�
+# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 鏃ュ織鎵撳嵃
global-config:
db-config:
id-type: auto
@@ -21,7 +22,7 @@
# 寮�鍙戠幆澧冮厤缃�
server:
# 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080
- port: 8080
+ port: 10076
servlet:
# 搴旂敤鐨勮闂矾寰�
context-path: /
@@ -40,7 +41,10 @@
logging:
level:
com.ruoyi: debug
+ com.ycl: debug
org.springframework: warn
+ org.flowable.engine.impl.persistence.entity.*: debug
+ org.flowable.task.service.impl.persistence.entity.*: debug
# 鐢ㄦ埛閰嶇疆
user:
@@ -62,23 +66,27 @@
servlet:
multipart:
# 鍗曚釜鏂囦欢澶у皬
- max-file-size: 10MB
+ max-file-size: 100MB
# 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
- max-request-size: 20MB
+ max-request-size: 100MB
# 鏈嶅姟妯″潡
devtools:
restart:
# 鐑儴缃插紑鍏�
- enabled: true
+ enabled: false
+ # 鏃ユ湡鏍煎紡
+ jackson:
+ date-format: yyyy-MM-dd HH:mm:ss
+ time-zone: GMT+8
# token閰嶇疆
token:
# 浠ょ墝鑷畾涔夋爣璇�
header: Authorization
# 浠ょ墝瀵嗛挜
- secret: abcdefghijklmnopqrstuvwxyz
+ secret: gfabcdefghijklmnopqrstuvwxyz12
# 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛�
- expireTime: 30
+ expireTime: 10000
# PageHelper鍒嗛〉鎻掍欢
pagehelper:
@@ -101,3 +109,5 @@
excludes: /system/notice
# 鍖归厤閾炬帴
urlPatterns: /system/*,/monitor/*,/tool/*
+
+
--
Gitblit v1.8.0