From 9c36e6855eacab4d61ed4f1f13ff0e01f8779ead Mon Sep 17 00:00:00 2001 From: zhaowenyuan Date: Wed, 12 Jun 2024 10:02:29 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chushang-common/chushang-common-mq/pom.xml | 8 ++++++++ .../auth-service/src/main/resources/application.yml | 6 ++++++ .../src/main/resources/application.yml | 6 ++++++ .../oss-service/src/main/resources/application.yml | 6 ++++++ .../src/main/resources/application.yml | 6 ++++++ .../task-service/src/main/resources/application.yml | 6 ++++++ pom.xml | 12 +++++++++--- 7 files changed, 47 insertions(+), 3 deletions(-) diff --git a/chushang-common/chushang-common-mq/pom.xml b/chushang-common/chushang-common-mq/pom.xml index f252de1..4114092 100644 --- a/chushang-common/chushang-common-mq/pom.xml +++ b/chushang-common/chushang-common-mq/pom.xml @@ -17,5 +17,13 @@ com.chushang chushang-common-core + + org.apache.rocketmq + rocketmq-spring-boot-starter + + + org.apache.rocketmq + rocketmq-spring-boot + diff --git a/chushang-modules/chushang-module-auth/auth-service/src/main/resources/application.yml b/chushang-modules/chushang-module-auth/auth-service/src/main/resources/application.yml index 911b24d..013cdc2 100644 --- a/chushang-modules/chushang-module-auth/auth-service/src/main/resources/application.yml +++ b/chushang-modules/chushang-module-auth/auth-service/src/main/resources/application.yml @@ -10,6 +10,12 @@ server: max: 800 min-spare: 100 spring: + servlet: + multipart: + # 修改上传文件临时路径为 /data1/tmp + location: /data1/tmp + max-file-size: 100MB + max-request-size: 100MB application: name: @artifactId@ main: diff --git a/chushang-modules/chushang-module-gateway/src/main/resources/application.yml b/chushang-modules/chushang-module-gateway/src/main/resources/application.yml index 08b5f47..01a8870 100644 --- a/chushang-modules/chushang-module-gateway/src/main/resources/application.yml +++ b/chushang-modules/chushang-module-gateway/src/main/resources/application.yml @@ -10,6 +10,12 @@ server: max: 800 min-spare: 100 spring: + servlet: + multipart: + # 修改上传文件临时路径为 /data1/tmp + location: /data1/tmp + max-file-size: 100MB + max-request-size: 100MB application: name: @artifactId@ main: diff --git a/chushang-modules/chushang-module-oss/oss-service/src/main/resources/application.yml b/chushang-modules/chushang-module-oss/oss-service/src/main/resources/application.yml index cce050c..b82054f 100644 --- a/chushang-modules/chushang-module-oss/oss-service/src/main/resources/application.yml +++ b/chushang-modules/chushang-module-oss/oss-service/src/main/resources/application.yml @@ -10,6 +10,12 @@ server: max: 800 min-spare: 100 spring: + servlet: + multipart: + # 修改上传文件临时路径为 /data1/tmp + location: /data1/tmp + max-file-size: 100MB + max-request-size: 100MB application: name: @artifactId@ # 如果需要使用读写分离, 此处需要改造, 有没有办法不用改? diff --git a/chushang-modules/chushang-module-system/system-service/src/main/resources/application.yml b/chushang-modules/chushang-module-system/system-service/src/main/resources/application.yml index 787c3f8..5e802e4 100644 --- a/chushang-modules/chushang-module-system/system-service/src/main/resources/application.yml +++ b/chushang-modules/chushang-module-system/system-service/src/main/resources/application.yml @@ -10,6 +10,12 @@ server: max: 800 min-spare: 100 spring: + servlet: + multipart: + # 修改上传文件临时路径为 /data1/tmp + location: /data1/tmp + max-file-size: 100MB + max-request-size: 100MB application: name: @artifactId@ # 如果需要使用读写分离, 此处需要改造, 有没有办法不用改? diff --git a/chushang-modules/chushang-module-task/task-service/src/main/resources/application.yml b/chushang-modules/chushang-module-task/task-service/src/main/resources/application.yml index 9b7f77e..c173f0f 100644 --- a/chushang-modules/chushang-module-task/task-service/src/main/resources/application.yml +++ b/chushang-modules/chushang-module-task/task-service/src/main/resources/application.yml @@ -10,6 +10,12 @@ server: max: 800 min-spare: 100 spring: + servlet: + multipart: + # 修改上传文件临时路径为 /data1/tmp + location: /data1/tmp + max-file-size: 100MB + max-request-size: 100MB application: name: @artifactId@ # 如果需要使用读写分离, 此处需要改造, 有没有办法不用改? diff --git a/pom.xml b/pom.xml index 148d9d7..19e509e 100644 --- a/pom.xml +++ b/pom.xml @@ -100,7 +100,7 @@ 0.1.55 2.0.43 2.7.0 - 4.9.4 + 2.3.0 3.11.0 3.1.0 @@ -564,8 +564,14 @@ - - rocket- + org.apache.rocketmq + rocketmq-spring-boot-starter + ${rocket.version} + + + org.apache.rocketmq + rocketmq-spring-boot + ${rocket.version}