Browse Source

修改本地开发分支

test
pref_mail@163.com 2 years ago
parent
commit
90549c67d5
  1. 8
      blade-biz-common/src/main/java/org/springblade/common/constant/LauncherConstant.java
  2. 3
      blade-gateway/src/main/java/org/springblade/gateway/GateWayApplication.java
  3. 2
      blade-gateway/src/main/resources/application-dev.yml
  4. 2
      blade-gateway/src/main/resources/bootstrap.yml
  5. 2
      blade-service/logpm-factory/src/main/java/com/logpm/factory/FactoryApplication.java
  6. 5
      blade-service/logpm-factory/src/main/java/com/logpm/factory/jobhandler/FactoryXxlJob.java
  7. 2
      pom.xml

8
blade-biz-common/src/main/java/org/springblade/common/constant/LauncherConstant.java

@ -45,7 +45,7 @@ public interface LauncherConstant {
/**
* nacos dev 地址
*/
String NACOS_DEV_ADDR = "192.168.10.210:8848";
String NACOS_DEV_ADDR = "192.168.1.100:8848";
/**
* nacos prod 地址
@ -55,7 +55,7 @@ public interface LauncherConstant {
/**
* nacos test 地址
*/
String NACOS_TEST_ADDR = "192.168.10.210:8848";
String NACOS_TEST_ADDR = "192.168.1.100:8848";
/**
* sentinel dev 地址
@ -75,7 +75,7 @@ public interface LauncherConstant {
/**
* seata dev 地址
*/
String SEATA_DEV_ADDR = "192.168.10.210:8091";
String SEATA_DEV_ADDR = "192.168.1.100:8091";
/**
* seata prod 地址
@ -85,7 +85,7 @@ public interface LauncherConstant {
/**
* seata test 地址
*/
String SEATA_TEST_ADDR = "192.168.10.210:8091";
String SEATA_TEST_ADDR = "192.168.1.100:8091";
/**
* dbuuo提供者

3
blade-gateway/src/main/java/org/springblade/gateway/GateWayApplication.java

@ -33,7 +33,8 @@ import org.springframework.scheduling.annotation.EnableScheduling;
public class GateWayApplication {
public static void main(String[] args) {
BladeApplication.run(AppConstant.APPLICATION_GATEWAY_NAME, GateWayApplication.class, args);
BladeApplication.run(AppConstant.APPLICATION_GATEWAY_NAME.concat("-pref"), GateWayApplication.class, args);
}
}

2
blade-gateway/src/main/resources/application-dev.yml

@ -7,5 +7,5 @@ blade:
#version: 3.0.0
#负载均衡优先调用的ip段
prior-ip-pattern:
- 192.168.0.*
- 192.168.10.*
- 127.0.0.1

2
blade-gateway/src/main/resources/bootstrap.yml

@ -1,5 +1,5 @@
server:
port: 80
port: 8888
spring:
cloud:

2
blade-service/logpm-factory/src/main/java/com/logpm/factory/FactoryApplication.java

@ -29,7 +29,7 @@ import org.springblade.core.launch.BladeApplication;
public class FactoryApplication {
public static void main(String[] args) {
BladeApplication.run(LauncherConstant.APPLICATION_FACTORY_NAME, FactoryApplication.class, args);
BladeApplication.run(LauncherConstant.APPLICATION_FACTORY_NAME.concat("-pref"), FactoryApplication.class, args);
}
}

5
blade-service/logpm-factory/src/main/java/com/logpm/factory/jobhandler/FactoryXxlJob.java

@ -115,6 +115,11 @@ public class FactoryXxlJob {
Map<String, List> map = orderService.dataRelative(orderLogEntity);
List<StationOrderEntity> dataList = map.get(StationOrderEntity.class.getName());
if(dataList.size()==0){
XxlJobLogger.log("本次解析操作没有数据");
return;
}
dataList = checkDataExit(dataList, newList);
if (dataList != null && dataList.size() != 0) {
XxlJobLogger.log("保存对象StationOrderEntity {}", dataList);

2
pom.xml

@ -30,8 +30,6 @@
<modules>
<module>blade-biz-common</module>
<module>blade-example</module>
<module>blade-example-api</module>
<module>blade-gateway</module>
<module>blade-ops</module>
<module>blade-service</module>

Loading…
Cancel
Save