diff --git a/blade-biz-common/src/main/java/org/springblade/common/constant/ModuleNameConstant.java b/blade-biz-common/src/main/java/org/springblade/common/constant/ModuleNameConstant.java
index d60420fe5..4708feb7c 100644
--- a/blade-biz-common/src/main/java/org/springblade/common/constant/ModuleNameConstant.java
+++ b/blade-biz-common/src/main/java/org/springblade/common/constant/ModuleNameConstant.java
@@ -9,7 +9,7 @@ public interface ModuleNameConstant {
/**
* 如果不需要 ""
*/
- public static final String DEVAUTH ="";
+ public static final String DEVAUTH ="-pref";
/**
* 工厂对接服务名称
diff --git a/blade-biz-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java b/blade-biz-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java
index f6aa5bef8..107c8211e 100644
--- a/blade-biz-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java
+++ b/blade-biz-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java
@@ -43,27 +43,25 @@ public class LauncherServiceImpl implements LauncherService {
// 开启elk日志
// PropsUtil.setProperty(props, "blade.log.elk.destination", LauncherConstant.elkAddr(profile));
-
-
PropsUtil.setProperty(props, "spring.cloud.sentinel.transport.dashboard", LauncherConstant.sentinelAddr(profile));
PropsUtil.setProperty(props, "spring.cloud.nacos.discovery.username","nacos");
PropsUtil.setProperty(props, "spring.cloud.nacos.discovery.password","Nacos123123");
PropsUtil.setProperty(props, "spring.cloud.nacos.config.username","nacos");
PropsUtil.setProperty(props, "spring.cloud.nacos.config.password","Nacos123123");
// dubbo注册
- PropsUtil.setProperty(props, "dubbo.application.name", appName);
- PropsUtil.setProperty(props, "dubbo.application.qos.enable", "false");
- PropsUtil.setProperty(props, "dubbo.protocol.name", "dubbo");
- PropsUtil.setProperty(props, "dubbo.registry.address", "nacos://" + LauncherConstant.nacosAddr(profile));
- PropsUtil.setProperty(props, "dubbo.version", AppConstant.APPLICATION_VERSION);
- PropsUtil.setProperty(props, "dubbo.scan.base-packages", AppConstant.BASE_PACKAGES);
+// PropsUtil.setProperty(props, "dubbo.application.name", appName);
+// PropsUtil.setProperty(props, "dubbo.application.qos.enable", "false");
+// PropsUtil.setProperty(props, "dubbo.protocol.name", "dubbo");
+// PropsUtil.setProperty(props, "dubbo.registry.address", "nacos://" + LauncherConstant.nacosAddr(profile));
+// PropsUtil.setProperty(props, "dubbo.version", AppConstant.APPLICATION_VERSION);
+// PropsUtil.setProperty(props, "dubbo.scan.base-packages", AppConstant.BASE_PACKAGES);
- // seata注册地址
- PropsUtil.setProperty(props, "seata.service.grouplist.default", LauncherConstant.seataAddr(profile));
- // seata注册group格式
- PropsUtil.setProperty(props, "seata.tx-service-group", LauncherConstant.seataServiceGroup(appName));
- // seata配置服务group
- PropsUtil.setProperty(props, "seata.service.vgroup-mapping.".concat(LauncherConstant.seataServiceGroup(appName)), LauncherConstant.DEFAULT_MODE);
+// // seata注册地址
+// PropsUtil.setProperty(props, "seata.service.grouplist.default", LauncherConstant.seataAddr(profile));
+// // seata注册group格式
+// PropsUtil.setProperty(props, "seata.tx-service-group", LauncherConstant.seataServiceGroup(appName));
+// // seata配置服务group
+// PropsUtil.setProperty(props, "seata.service.vgroup-mapping.".concat(LauncherConstant.seataServiceGroup(appName)), LauncherConstant.DEFAULT_MODE);
// seata注册模式配置
// PropsUtil.setProperty(props, "seata.registry.type", LauncherConstant.NACOS_MODE);
// PropsUtil.setProperty(props, "seata.registry.nacos.server-addr", LauncherConstant.nacosAddr(profile));
diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/AftersalesApplication.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/AftersalesApplication.java
index ed1163063..fe28ef4b7 100644
--- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/AftersalesApplication.java
+++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/AftersalesApplication.java
@@ -19,7 +19,6 @@ package com.logpm.aftersales;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.launch.BladeApplication;
-import org.springblade.core.transaction.annotation.SeataCloudApplication;
/**
* Demo启动器
diff --git a/blade-service/logpm-basic/src/main/java/com/logpm/basic/BasicApplication.java b/blade-service/logpm-basic/src/main/java/com/logpm/basic/BasicApplication.java
index 3972782f9..90224f55d 100644
--- a/blade-service/logpm-basic/src/main/java/com/logpm/basic/BasicApplication.java
+++ b/blade-service/logpm-basic/src/main/java/com/logpm/basic/BasicApplication.java
@@ -5,7 +5,6 @@ package com.logpm.basic;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.launch.BladeApplication;
-import org.springblade.core.transaction.annotation.SeataCloudApplication;
/**
* Basic启动器
diff --git a/blade-service/logpm-basic/src/main/resources/application-dev.yml b/blade-service/logpm-basic/src/main/resources/application-dev.yml
index edd1af818..0e280f09f 100644
--- a/blade-service/logpm-basic/src/main/resources/application-dev.yml
+++ b/blade-service/logpm-basic/src/main/resources/application-dev.yml
@@ -12,7 +12,7 @@ server:
spring:
#排除DruidDataSourceAutoConfigure
autoconfigure:
- exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure,com.alibaba.cloud.seata.feign.SeataFeignClientAutoConfiguration
+ exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
datasource:
dynamic:
druid:
diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java
index bc3652dfc..0ea8593ac 100644
--- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java
+++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java
@@ -4,7 +4,6 @@ package com.logpm.basicdata;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.launch.BladeApplication;
-import org.springblade.core.transaction.annotation.SeataCloudApplication;
/**
* Basic启动器
diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTrayServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTrayServiceImpl.java
index 2592d1d6d..727cebbb9 100644
--- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTrayServiceImpl.java
+++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTrayServiceImpl.java
@@ -22,7 +22,6 @@ import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
-import com.ibm.icu.impl.data.ResourceReader;
import com.itextpdf.html2pdf.ConverterProperties;
import com.itextpdf.html2pdf.HtmlConverter;
import com.itextpdf.kernel.geom.PageSize;
@@ -60,6 +59,7 @@ import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.beans.BeanUtils;
+import org.springframework.data.repository.init.ResourceReader;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
diff --git a/blade-service/logpm-basicdata/src/main/resources/application-dev.yml b/blade-service/logpm-basicdata/src/main/resources/application-dev.yml
index ad768428d..65ac97dae 100644
--- a/blade-service/logpm-basicdata/src/main/resources/application-dev.yml
+++ b/blade-service/logpm-basicdata/src/main/resources/application-dev.yml
@@ -12,7 +12,7 @@ server:
spring:
#排除DruidDataSourceAutoConfigure
autoconfigure:
- exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure,com.alibaba.cloud.seata.feign.SeataFeignClientAutoConfiguration
+ exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
datasource:
dynamic:
druid:
diff --git a/blade-service/logpm-business/src/main/java/com/logpm/business/BusinessApplication.java b/blade-service/logpm-business/src/main/java/com/logpm/business/BusinessApplication.java
index b5654d540..2c40a6fb7 100644
--- a/blade-service/logpm-business/src/main/java/com/logpm/business/BusinessApplication.java
+++ b/blade-service/logpm-business/src/main/java/com/logpm/business/BusinessApplication.java
@@ -4,7 +4,6 @@ package com.logpm.business;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.launch.BladeApplication;
-import org.springblade.core.transaction.annotation.SeataCloudApplication;
@BladeCloudApplication
public class BusinessApplication {
diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/DistributionApplication.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/DistributionApplication.java
index b37bf3a93..32edd5cbc 100644
--- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/DistributionApplication.java
+++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/DistributionApplication.java
@@ -19,7 +19,6 @@ package com.logpm.distribution;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.launch.BladeApplication;
-import org.springblade.core.transaction.annotation.SeataCloudApplication;
/**
* Demo启动器
diff --git a/blade-service/logpm-distribution/src/main/resources/application-dev.yml b/blade-service/logpm-distribution/src/main/resources/application-dev.yml
index 5900ebb32..2ced6d350 100644
--- a/blade-service/logpm-distribution/src/main/resources/application-dev.yml
+++ b/blade-service/logpm-distribution/src/main/resources/application-dev.yml
@@ -41,7 +41,7 @@ spring:
mandatory: true
#排除DruidDataSourceAutoConfigure
autoconfigure:
- exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure,com.alibaba.cloud.seata.feign.SeataFeignClientAutoConfiguration
+ exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
datasource:
dynamic:
druid:
diff --git a/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/SuperviseApplication.java b/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/SuperviseApplication.java
index 0dbf98df6..52e2666af 100644
--- a/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/SuperviseApplication.java
+++ b/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/SuperviseApplication.java
@@ -5,7 +5,6 @@ package com.logpm.supervise;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.launch.BladeApplication;
-import org.springblade.core.transaction.annotation.SeataCloudApplication;
/**
* Basic启动器
diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/TrunkLineApplication.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/TrunkLineApplication.java
index a82e78131..d17b93470 100644
--- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/TrunkLineApplication.java
+++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/TrunkLineApplication.java
@@ -19,7 +19,6 @@ package com.logpm.trunkline;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.launch.BladeApplication;
-import org.springblade.core.transaction.annotation.SeataCloudApplication;
/**
* Demo启动器
@@ -27,7 +26,6 @@ import org.springblade.core.transaction.annotation.SeataCloudApplication;
* @author Chill
*/
@BladeCloudApplication
-@SeataCloudApplication
public class TrunkLineApplication {
public static void main(String[] args) {
diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/WarehouseApplication.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/WarehouseApplication.java
index a8668fb2e..20720b6d2 100644
--- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/WarehouseApplication.java
+++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/WarehouseApplication.java
@@ -19,7 +19,6 @@ package com.logpm.warehouse;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.launch.BladeApplication;
-import org.springblade.core.transaction.annotation.SeataCloudApplication;
/**
* Demo启动器
diff --git a/blade-service/logpm-warehouse/src/main/resources/application-dev.yml b/blade-service/logpm-warehouse/src/main/resources/application-dev.yml
index b7affbaba..17c0a2b32 100644
--- a/blade-service/logpm-warehouse/src/main/resources/application-dev.yml
+++ b/blade-service/logpm-warehouse/src/main/resources/application-dev.yml
@@ -12,10 +12,10 @@ server:
spring:
#rabbitmq配置
rabbitmq:
- host: 192.168.2.46
+ host: 192.168.3.100
port: 5672
username: admin
- password: admin
+ password: 123456
#虚拟host 可以不设置,使用server默认host
virtual-host: /
#确认消息已发送到队列(Queue)
@@ -38,7 +38,7 @@ spring:
mandatory: true
#排除DruidDataSourceAutoConfigure
autoconfigure:
- exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure,com.alibaba.cloud.seata.feign.SeataFeignClientAutoConfiguration
+ exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
datasource:
dynamic:
druid:
diff --git a/blade-service/pom.xml b/blade-service/pom.xml
index 69f65ccb5..36ab0faff 100644
--- a/blade-service/pom.xml
+++ b/blade-service/pom.xml
@@ -65,10 +65,10 @@
blade-starter-metrics
-
- org.springblade
- blade-starter-transaction
-
+
+
+
+
org.springblade
blade-starter-tenant