Merge remote-tracking branch 'refs/remotes/origin/master' into dev

# Conflicts:
#	src/main/resources/application-dev.yml
This commit is contained in:
efren
2025-06-25 16:36:23 +08:00
5 changed files with 43 additions and 42 deletions

View File

@ -21,6 +21,12 @@
<groupId>com.chinaunicom.mall.ebtp</groupId> <groupId>com.chinaunicom.mall.ebtp</groupId>
<artifactId>uboot-core</artifactId> <artifactId>uboot-core</artifactId>
<version>2.4.1-zyhy-SNAPSHOT</version> <version>2.4.1-zyhy-SNAPSHOT</version>
<exclusions>
<exclusion>
<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
<groupId>org.apache.shardingsphere</groupId>
</exclusion>
</exclusions>
</dependency> </dependency>

View File

@ -16,7 +16,7 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync; import org.springframework.scheduling.annotation.EnableAsync;
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DruidDataSourceAutoConfigure.class}) @SpringBootApplication
@EnableFeignClients @EnableFeignClients
@MapperScan({"com.chinaunicom.mall.ebtp.extend.**.dao"}) @MapperScan({"com.chinaunicom.mall.ebtp.extend.**.dao"})
@ComponentScan("com.chinaunicom.mall.ebtp.*") @ComponentScan("com.chinaunicom.mall.ebtp.*")

View File

@ -1,6 +1,6 @@
package com.chinaunicom.mall.ebtp.extend.singlePoint.common; package com.chinaunicom.mall.ebtp.extend.singlePoint.common;
import groovy.util.logging.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -13,7 +13,7 @@ import java.security.Security;
@Slf4j @Slf4j
public class GmBaseUtil { public class GmBaseUtil {
private static final Logger logger = LoggerFactory.getLogger(GmBaseUtil.class); private static final Logger logger = LoggerFactory.getLogger(GmBaseUtil.class);
protected GmBaseUtil() { protected GmBaseUtil() {
logger.info("GmBaseUtil"); logger.info("GmBaseUtil");
} }

View File

@ -15,33 +15,29 @@ spring:
application: application:
name: biz-service-ebtp-extend name: biz-service-ebtp-extend
shardingsphere: datasource:
datasource: type: com.alibaba.druid.pool.DruidDataSource
names: ds0 driver-class-name: com.mysql.cj.jdbc.Driver
ds0: username: root
type: com.alibaba.druid.pool.DruidDataSource password: Unicom@2024
driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://59.110.10.99:53306/ebtp_mall_extend?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
username: root druid:
password: Unicom@2024 maxActive: 20
jdbc-url: jdbc:mysql://59.110.10.99:53306/ebtp_mall_extend?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true initialSize: 1
url: jdbc:mysql://59.110.10.99:53306/ebtp_mall_extend?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true maxWait: 60000
filters: stat,wall,log4j minIdle: 1
maxActive: 20 timeBetweenEvictionRunsMillis: 60000
initialSize: 1 minEvictableIdleTimeMillis: 300000
maxWait: 60000 validationQuery: select 'x'
minIdle: 1 testWhileIdle: true
timeBetweenEvictionRunsMillis: 60000 testOnBorrow: false
minEvictableIdleTimeMillis: 300000 testOnReturn: false
validationQuery: select 'x' poolPreparedStatements: true
testWhileIdle: true maxOpenPreparedStatements: 20
testOnBorrow: false connection-properties: druid.stat.mergeSql=ture;druid.stat.slowSqlMillis=5000
testOnReturn: false props:
poolPreparedStatements: true sql:
maxOpenPreparedStatements: 20 show: true
connection-properties: druid.stat.mergeSql=ture;druid.stat.slowSqlMillis=5000
props:
sql:
show: true
jackson: jackson:
date-format: yyyy-MM-dd HH:mm:ss date-format: yyyy-MM-dd HH:mm:ss
@ -51,7 +47,8 @@ spring:
# 天宫Kafka增加了安全认证需要配置安全属性 # 天宫Kafka增加了安全认证需要配置安全属性
kafka: kafka:
bootstrap-servers: 10.125.164.192:32005,10.125.164.193:32005,10.125.164.194:32005 # bootstrap-servers: 10.125.164.192:32005,10.125.164.193:32005,10.125.164.194:32005
bootstrap-servers: 127.0.0.1:2181
template: template:
default-topic: jl_test default-topic: jl_test
@ -76,14 +73,13 @@ spring:
redis: redis:
sentinel: sentinel:
master: mymaster master: mymaster
# nodes: 10.60.161.59:26379, 10.60.161.59:26380, 10.60.161.59:26381 nodes: localhost:26379
nodes: localhost:26379, localhost:26380, localhost:26381
password: pass password: pass
database: database:
idempotent: 1
sharding: 1 sharding: 1
cache: 1 cache: 2
userinfo: 1 idempotent: 3
userinfo: 4
# 邮件配置 # 邮件配置
mail: mail:
@ -171,6 +167,7 @@ feign:
default: default:
connect-timeout: 20000 connect-timeout: 20000
read-timeout: 20000 read-timeout: 20000
logger-level: full
hystrix: hystrix:
command: command:
@ -209,6 +206,10 @@ mconfig:
file: file:
font-address: /storage/fonts/ font-address: /storage/fonts/
upload-address: /storage/reviewReport/ upload-address: /storage/reviewReport/
ioa:
app_id: g8Jdg7kJLc
app_secret: d72d9660ac344f6af782ec9c3cb78648cb2250c7
base_url: http://10.18.55.175:19997
document: document:
clientHttpUrl: http://10.242.31.158:8100/auth/oauth/token?grant_type=client_credentials&client_id=bVS46ElU&client_secret=58ea04ba02475c8da2321cc99849d2a10f15b749 clientHttpUrl: http://10.242.31.158:8100/auth/oauth/token?grant_type=client_credentials&client_id=bVS46ElU&client_secret=58ea04ba02475c8da2321cc99849d2a10f15b749

View File

@ -6,12 +6,6 @@ spring:
profiles: profiles:
active: dev active: dev
# Apollo 配置信息
apollo:
bootstrap:
enabled: true
namespace: application
client: client:
clientHttpUrl: 1 clientHttpUrl: 1