prod相关配置调整
This commit is contained in:
@@ -77,6 +77,9 @@ public class FileShowUtil {
|
|||||||
if (StringUtils.isEmpty(path)) {
|
if (StringUtils.isEmpty(path)) {
|
||||||
return getIntranet()+"default.png";
|
return getIntranet()+"default.png";
|
||||||
}
|
}
|
||||||
|
if(path.contains("yyjk.cqygjk.com")){
|
||||||
|
return path;
|
||||||
|
}
|
||||||
if(path.contains("https") || path.contains("http")){
|
if(path.contains("https") || path.contains("http")){
|
||||||
if(path.contains("temp")){
|
if(path.contains("temp")){
|
||||||
path = path.substring(path.indexOf("temp"));
|
path = path.substring(path.indexOf("temp"));
|
||||||
|
|||||||
@@ -86,4 +86,23 @@
|
|||||||
<version>1.0.3</version>
|
<version>1.0.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<!-- 打包名称 -->
|
||||||
|
<finalName>${project.artifactId}</finalName>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>${maven-source-plugin.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-sources</id>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@@ -31,6 +31,17 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<!--本地依赖的system作用域包打包到项目jar -->
|
||||||
|
<includeSystemScope>true</includeSystemScope>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>repackage</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|||||||
@@ -133,8 +133,8 @@ mybatis-plus:
|
|||||||
activemq:
|
activemq:
|
||||||
device:
|
device:
|
||||||
brokerUrl: failover:(tcp://127.0.0.1:61616,tcp://127.0.0.1:61616)?randomize=false&priorityBackup=true&maxReconnectDelay=1000&startupMaxReconnectAttempts=3
|
brokerUrl: failover:(tcp://127.0.0.1:61616,tcp://127.0.0.1:61616)?randomize=false&priorityBackup=true&maxReconnectDelay=1000&startupMaxReconnectAttempts=3
|
||||||
username: mtqquser
|
username: sw_mqtt
|
||||||
password: Mqtt@150326
|
password: 150326sw@
|
||||||
|
|
||||||
#jeecg专用配置
|
#jeecg专用配置
|
||||||
minidao:
|
minidao:
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ spring:
|
|||||||
downloadPath:
|
downloadPath:
|
||||||
#内网
|
#内网
|
||||||
# intranet: http://192.168.10.223:8888/
|
# intranet: http://192.168.10.223:8888/
|
||||||
intranet: http://192.168.1.16:8888/
|
intranet: http://192.168.10.6:8888/
|
||||||
#外网 == 暂时没有用
|
#外网 == 暂时没有用
|
||||||
outernet: https://vip.shuziweidao.com/appPackage/
|
outernet: https://vip.shuziweidao.com/appPackage/
|
||||||
#配置freemarker
|
#配置freemarker
|
||||||
@@ -97,9 +97,9 @@ spring:
|
|||||||
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
||||||
datasource:
|
datasource:
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://rm-uf6afe85n7b0l6034eo.mysql.rds.aliyuncs.com:3306/zhst_finance?Unicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://192.168.10.6:3306/zhst_finance?Unicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||||||
username: zhct_root
|
username: root
|
||||||
password: Xulei150326
|
password: 123qwe!@#P@ssw0rd
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
# 多数据源配置
|
# 多数据源配置
|
||||||
#multi-datasource1:
|
#multi-datasource1:
|
||||||
@@ -110,9 +110,9 @@ spring:
|
|||||||
#redis 配置
|
#redis 配置
|
||||||
redis:
|
redis:
|
||||||
database: 2
|
database: 2
|
||||||
host: r-bp100u5p8za5xul8y3pd.redis.rds.aliyuncs.com
|
host: 192.168.10.6
|
||||||
port: 6379
|
port: 6379
|
||||||
password: 'zhct:Xulei150326'
|
password: 123qwe!@#P@ssw0rd
|
||||||
#mybatis plus 设置
|
#mybatis plus 设置
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
mapper-locations: classpath*:org/jeecg/**/**/**/xml/*Mapper.xml
|
mapper-locations: classpath*:org/jeecg/**/**/**/xml/*Mapper.xml
|
||||||
@@ -132,7 +132,7 @@ mybatis-plus:
|
|||||||
#消息队列配置
|
#消息队列配置
|
||||||
activemq:
|
activemq:
|
||||||
device:
|
device:
|
||||||
brokerUrl: failover:(tcp://device.shuziweidao.com:1883,tcp://127.0.0.1:1883)?randomize=false&priorityBackup=true&maxReconnectDelay=1000&startupMaxReconnectAttempts=3
|
brokerUrl: failover:(tcp://device.shuziweidao.com:1883,tcp://192.168.10.6:61616)?randomize=false&priorityBackup=true&maxReconnectDelay=1000&startupMaxReconnectAttempts=3
|
||||||
username: sw_mqtt
|
username: sw_mqtt
|
||||||
password: 150326sw@
|
password: 150326sw@
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@ jeecg:
|
|||||||
#服务部署的外网ip端口、域名地址:用于下载文件
|
#服务部署的外网ip端口、域名地址:用于下载文件
|
||||||
serverPublicIp:
|
serverPublicIp:
|
||||||
# 文件访问地址 需配置
|
# 文件访问地址 需配置
|
||||||
ip: http://192.168.1.16:2333
|
ip: http://192.168.10.6:2333
|
||||||
path:
|
path:
|
||||||
#文件上传根目录 设置 需配置
|
#文件上传根目录 设置 需配置
|
||||||
upload: /opt/upFiles
|
upload: /opt/upFiles
|
||||||
@@ -176,10 +176,10 @@ jeecg:
|
|||||||
# ElasticSearch 6设置
|
# ElasticSearch 6设置
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
cluster-name: jeecg-ES
|
cluster-name: jeecg-ES
|
||||||
cluster-nodes: 127.0.0.1:9200
|
cluster-nodes: 192.168.10.6:9200
|
||||||
check-enabled: false
|
check-enabled: false
|
||||||
# 在线预览文件服务器地址配置
|
# 在线预览文件服务器地址配置
|
||||||
file-view-domain: 127.0.0.1:8012
|
file-view-domain: 192.168.10.6:8012
|
||||||
# minio文件上传
|
# minio文件上传
|
||||||
minio:
|
minio:
|
||||||
minio_url: http://minio.jeecg.com
|
minio_url: http://minio.jeecg.com
|
||||||
@@ -198,11 +198,11 @@ jeecg:
|
|||||||
#xxl-job配置
|
#xxl-job配置
|
||||||
xxljob:
|
xxljob:
|
||||||
enabled: false
|
enabled: false
|
||||||
adminAddresses: http://127.0.0.1:9080/xxl-job-admin
|
adminAddresses: http://192.168.10.6:9080/xxl-job-admin
|
||||||
appname: ${spring.application.name}
|
appname: ${spring.application.name}
|
||||||
accessToken: ''
|
accessToken: ''
|
||||||
address: 127.0.0.1:30007
|
address: 192.168.10.6:30007
|
||||||
ip: 127.0.0.1
|
ip: 192.168.10.6
|
||||||
port: 30007
|
port: 30007
|
||||||
logPath: logs/jeecg/job/jobhandler/
|
logPath: logs/jeecg/job/jobhandler/
|
||||||
logRetentionDays: 30
|
logRetentionDays: 30
|
||||||
@@ -291,8 +291,8 @@ face:
|
|||||||
# windows
|
# windows
|
||||||
appId: 3RX8bPDaEx3ZLYrxKEZ9F8hT5cqTma49AoeQhTMW8Wvg
|
appId: 3RX8bPDaEx3ZLYrxKEZ9F8hT5cqTma49AoeQhTMW8Wvg
|
||||||
sdkKey: CsNxFiPekJAyuQRjwY3c918ARVEEyCyzuvmMwWDUAjsF
|
sdkKey: CsNxFiPekJAyuQRjwY3c918ARVEEyCyzuvmMwWDUAjsF
|
||||||
activeKey: 86L1-11ZG-411K-8WAF
|
activeKey: 86L1-11ZG-412Q-XKLB
|
||||||
libPath: jeecg-module-system\jeecg-system-api\jeecg-system-local-api\facelib
|
libPath: ./facelib
|
||||||
detect:
|
detect:
|
||||||
pool:
|
pool:
|
||||||
size: 5
|
size: 5
|
||||||
|
|||||||
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -359,7 +359,15 @@
|
|||||||
<nonFilteredFileExtension>eot</nonFilteredFileExtension>
|
<nonFilteredFileExtension>eot</nonFilteredFileExtension>
|
||||||
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
|
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
|
||||||
<nonFilteredFileExtension>svg</nonFilteredFileExtension>
|
<nonFilteredFileExtension>svg</nonFilteredFileExtension>
|
||||||
|
<!-- 人脸识别库,这里例外不编译 -->
|
||||||
|
<nonFilteredFileExtension>dll</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>so</nonFilteredFileExtension>
|
||||||
</nonFilteredFileExtensions>
|
</nonFilteredFileExtensions>
|
||||||
|
<!-- 配置文件中使用了 @@占位符获取 maven 中的配置项idea 启动时报错-->
|
||||||
|
<delimiters>
|
||||||
|
<delimiter>@</delimiter>
|
||||||
|
</delimiters>
|
||||||
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
@@ -376,6 +384,15 @@
|
|||||||
<include>**/*.ftl</include>
|
<include>**/*.ftl</include>
|
||||||
</includes>
|
</includes>
|
||||||
</resource>
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>jeecg-module-system/jeecg-system-api/jeecg-system-local-api/facelib</directory>
|
||||||
|
<targetPath>facelib</targetPath>
|
||||||
|
<filtering>false</filtering>
|
||||||
|
<includes>
|
||||||
|
<include>*.dll</include>
|
||||||
|
<include>*.so</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</build>
|
</build>
|
||||||
<!-- 环境 -->
|
<!-- 环境 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user