diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index d6f67c3..a15c8c1 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -2,11 +2,6 @@
-
-
-
-
-
@@ -16,8 +11,8 @@
-
+
@@ -32,13 +27,6 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
index 6827ae6..3dfb61d 100644
--- a/.idea/jarRepositories.xml
+++ b/.idea/jarRepositories.xml
@@ -6,11 +6,6 @@
-
-
-
-
-
diff --git a/.idea/misc.xml b/.idea/misc.xml
index cb3c6f7..0f8edc3 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -4,22 +4,16 @@
-
-
-
-
-
-
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 18b69f0..47ff88f 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,18 +2,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 5243b2b..dae4c67 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,59 +4,21 @@
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -66,46 +28,29 @@
-
-
-
-
-
-
-
-
- {
- "associatedIndex": 4
-}
-
+
+
-
-
-
-
-
-
-
-
-
@@ -138,7 +74,7 @@
-
+
@@ -146,44 +82,26 @@
-
+
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
+
-
-
-
-
-
-
@@ -196,18 +114,22 @@
-
+
+
+
+
+
+
+
-
-
-
+
@@ -222,94 +144,16 @@
-
- 1764237313049
+
+ 1764725740407
- 1764237313049
-
-
-
-
-
+ 1764725740407
+
-
-
- 1764237586006
-
-
-
- 1764237586006
-
-
-
- 1764237787343
-
-
-
- 1764237787343
-
-
-
- 1764300237424
-
-
-
- 1764300237424
-
-
-
- 1764570844389
-
-
-
- 1764570844389
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/HnRealNameBmw/src/main/java/com/bonus/hnrn/rnbmw/person/service/FaceContrastServiceImp.java
- 49
-
-
-
- file://$PROJECT_DIR$/HnRealNameBmw/src/main/java/com/bonus/hnrn/rnbmw/person/service/FaceContrastServiceImp.java
- 48
-
-
-
- file://$PROJECT_DIR$/HnRealNameBmw/src/main/java/com/bonus/hnrn/rnbmw/manager/config/DruidConfig.java
- 30
-
-
-
- file://$PROJECT_DIR$/hn-gateway/bonus-gateway/src/main/java/com/bonus/gateway/config/CorsConfig.java
- 20
-
-
-
-
-
\ No newline at end of file
diff --git a/HnRealNameBmw/src/main/resources/application.properties b/HnRealNameBmw/src/main/resources/application.properties
deleted file mode 100644
index a672411..0000000
--- a/HnRealNameBmw/src/main/resources/application.properties
+++ /dev/null
@@ -1,145 +0,0 @@
-##server.port=1918
-#server.port=19118
-##server.port=1921
-#server.servlet.context-path=/hnBmw
-#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-#
-#spring.datasource.url=jdbc:mysql://192.168.0.14:4418/hn_real_name_test?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-#spring.datasource.username=root
-#spring.datasource.password=Bonus@admin123!
-#
-##spring.datasource.url=jdbc:mysql://127.0.0.1:13306/hn_real_name_test?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=Asia/Shanghai
-##spring.datasource.username=lSun
-##spring.datasource.password=liang971108@Sun
-#
-##spring.datasource.url=jdbc:mysql://192.168.0.70:13306/hn_real_name?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-##spring.datasource.username=root
-##spring.datasource.password=Hnsmz@mysql123!
-#
-##spring.datasource.url=jdbc:mysql://116.63.172.211:13306/hn_real_name?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-##spring.datasource.username=root
-##spring.datasource.password=Hnsmz@mysql123!
-#
-##spring.datasource.url=jdbc:mysql://172.16.0.235:13306/hn_real_name?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-##spring.datasource.username=root
-##spring.datasource.password=Hnsmz@mysql123!
-#
-#spring.datasource.initialSize=5
-#spring.datasource.minIdle=5
-#spring.datasource.maxActive=60
-#spring.datasource.maxWait=60000
-#spring.datasource.timeBetweenEvictionRunsMillis=60000
-#spring.datasource.minEvictableIdleTimeMillis=300000
-#spring.datasource.validationQuery=SELECT 1
-#spring.datasource.testWhileIdle=true
-#spring.datasource.testOnBorrow=true
-#spring.datasource.testOnReturn=false
-#spring.datasource.poolPreparedStatements=true
-#spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
-#spring.datasource.filters=stat,wall,log4j
-#spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
-#spring.devtools.restart.enabled=false
-#spring.devtools.restart.additional-paths=src/main/java
-#
-#server.session.timeout=10
-#server.tomcat.uri-encoding=UTF-8
-#mybatis.mapper-locations=classpath:mappers/*/*Mapper.xml
-#mybatis.type-aliases-package=com.bonus.hnrn.rnbmw.*.entity
-#mybatis.configuration.mapUnderscoreToCamelCase=true
-#
-##redis config
-##spring.redis.host=127.0.0.1
-##spring.redis.port=6379
-##spring.redis.password=liang971108lu@L
-#
-#spring.redis.host=192.168.0.14
-#spring.redis.port=2004
-#spring.redis.password=Plzbns@Redis123!
-#
-##spring.redis.host=116.63.172.211
-##spring.redis.port=6379
-##spring.redis.password=Hnsmz@070redis!
-#
-##spring.redis.host=172.16.0.235
-##spring.redis.port=6379
-##spring.redis.password=Hnsmz@070redis!
-#
-#logging.config=classpath:logback-boot.xml
-#log.level.root=info
-#log.level.my=debug
-#log.file=logs/sys-back.log
-#log.maxsize=30MB
-#server.max-http-header-size=102400
-#spring.servlet.multipart.max-file-size=-1
-#spring.servlet.multipart.max-request-size=-1
-#spring.http.multipart.maxFileSize=-1
-#spring.http.multipart.maxRequestSize=-1
-#token.expire.seconds=7200
-#spring.servlet.multipart.enabled=true
-##files.path=/data/gz_real_name
-#files.path=/rdata/gz_real_name/
-#files.upload_path=/rdata/gz_real_name
-##files.path=H://files/
-##files.path=E:
-##\u767D\u5F55\u9A8C\u8BC1\u7801\u8FC7\u671F\u65F6\u95F4\uFF0C\u5355\u4F4D \u5206\u949F
-#loginCode.expiration = 3
-##\u9A8C\u8BC1\u7801redis\u7684key\u503C\u524D\u7F00
-#loginCode.prefix = login_code
-#
-## ??HikariCP???
-#spring.datasource.hikari.maximum-pool-size=10
-#spring.datasource.hikari.minimum-idle=3
-#spring.datasource.hikari.connection-timeout=30000
-#spring.datasource.hikari.idle-timeout=300000
-#spring.datasource.hikari.max-lifetime=1800000
-#
-#
-## 1. ????? - ??????
-#server.tomcat.connection-timeout=20000
-#server.tomcat.keep-alive-timeout=20000
-#server.tomcat.max-connections=10000
-#
-## 2. ????? - ??????
-#server.tomcat.accept-count=100
-#server.tomcat.max-threads=200
-#server.tomcat.min-spare-threads=10
-#
-## 3. ? POST ???????? Slow HTTP POST?
-#server.tomcat.max-http-post-size=2097152
-#server.tomcat.max-swallow-size=2097152
-#
-## CSP??????
-## ????CSP?????true?????false??????
-#csp.report-only=false
-#
-## ???????iframe????true?????iframe?false??????
-#csp.allow-iframe=true
-#
-## ????WebGL???true????false????
-#csp.enable-webgl=true
-#
-## ????
-## ?????????????
-#cors.allowed-origins=http://localhost:19118,http://127.0.0.1:19118,http://192.168.0.14:19118,http://116.63.172.211:1918
-#
-## ???HTTP??
-#cors.allowed-methods=GET,POST,PUT,DELETE,OPTIONS
-#
-## ??????
-#cors.allowed-headers=Content-Type,X-Requested-With,Token,Authorization,X-Custom-Header
-#
-## ??????????
-#cors.allow-credentials=true
-#
-## ???????????
-#cors.max-age=3600
-#
-## ?????
-## ??????????
-#security.headers.strict=true
-#
-## ????HSTS?HTTP???????
-#security.hsts.enabled=true
-#
-## ??????????
-#security.headers.clear-server-info=true
diff --git a/HnRealNameBmw/src/main/resources/bootstrap.yml b/HnRealNameBmw/src/main/resources/bootstrap.yml
new file mode 100644
index 0000000..1a26c40
--- /dev/null
+++ b/HnRealNameBmw/src/main/resources/bootstrap.yml
@@ -0,0 +1,93 @@
+server:
+ port: 1918
+ tomcat:
+ connection-timeout: 10
+ uri-encoding: UTF-8
+ max-http-header-size: 102400
+ multipart:
+ max-file-size: 20MB
+ max-request-size: 20MB
+ maxFileSize: 10Mb
+ maxRequestSize: 10Mb
+# 数据源配置
+spring:
+ application:
+ name: bonus-realname
+ profiles:
+ # 环境配置
+ active: dev
+ cloud:
+ nacos:
+ config:
+ server-addr: 192.168.0.14:18848
+ namespace: e0337b55-080d-456e-8449-46d68dceee5b
+ # 配置文件格式
+ file-extension: yml
+ group: DEFAULT_GROUP
+ # nacos.core.auth.enabled=true 开启权限验证
+ discovery:
+ # nacos地址
+ server-addr: 192.168.0.14:18848
+ namespace: e0337b55-080d-456e-8449-46d68dceee5b
+
+
+
+# datasource:
+# driverClassName: com.mysql.cj.jdbc.Driver
+# url: jdbc:mysql://192.168.0.14:4418/hn_real_name_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&useSSL=false
+# username: root
+# password: Bonus@admin123!
+# max-idle: 10
+# max-wait: 60000
+# min-idle: 5
+# initial-size: 5
+# redis:
+# host: 192.168.0.14
+# port: 2004
+# password: Plzbns@Redis123!
+
+# mybatis配置
+mybatis:
+ mapper-locations: classpath:mappers/*/*Mapper.xml
+ type-aliases-package: com.bonus.hnrn.rnbmw.*.entity
+
+logging:
+ level:
+ root: INFO
+ pattern:
+ console: "%d{yyyy-MM-dd HH:mm:ss} - %msg%n"
+log:
+ level:
+ root: info
+ my: debug
+ file: logs/sys-back.log
+ maxsize: 30M
+
+
+files:
+ path: /rdata/gz_real_name/
+ upload_path: /rdata/gz_real_name
+token:
+ expire:
+ seconds: 7200
+loginCode:
+ expiration: 3
+ prefix: login_code
+jasypt:
+ encryptor:
+ password: Encrypt
+
+oss:
+ # endpoint: http://oss-ah-2-a.ops.sgmc.sgcc.com.cn/
+ endpoint: oss-cn-beijing.aliyuncs.com
+ accessKeyId: LTAI5tRkHKiF1GJiwK5dGFRj
+ accessKeySecret: jXewIIKO0ZmuuQedpN728M7bMFTNBO
+ bucketName: lsun
+
+cors:
+ allowed-origins: http://localhost:19118,http://127.0.0.1:19118,http://192.168.0.14:19118,http://116.63.172.211:1918
+ allowed-methods: GET,POST,PUT,DELETE,OPTIONS
+ allowed-headers: Content-Type,X-Requested-With,Token,Authorization,X-Custom-Header
+ allow-credentials: true
+ max-age: 3600
+
diff --git a/HnRealNameMw/HnRealNameMw.iml b/HnRealNameMw/HnRealNameMw.iml
deleted file mode 100644
index 1daccae..0000000
--- a/HnRealNameMw/HnRealNameMw.iml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/HnRealNameMw/pom.xml b/HnRealNameMw/pom.xml
index 34761ee..b1a9114 100644
--- a/HnRealNameMw/pom.xml
+++ b/HnRealNameMw/pom.xml
@@ -5,55 +5,203 @@
org.springframework.boot
spring-boot-starter-parent
- 2.5.4
-
+ 2.1.1.RELEASE
+
- com.bonus.gzvis
- HnRealNameMw
+ com.bonus.boot
+ HnRealNameMmw
0.0.1-SNAPSHOT
real-name-web
real-name-web
1.8
+ 2.8.0
+ 23.0
+ 1.2.47
+ 1.1.9
+ 3.17
+ 0.9.0
+ 1.3.2
+
+ Greenwich.SR1
+
+ 2.1.0.RELEASE
+
+
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ ${spring-cloud.version}
+ pom
+ import
+
+
+
+ com.alibaba.cloud
+ spring-cloud-alibaba-dependencies
+ ${spring-cloud-alibaba.version}
+ pom
+ import
+
+
+
+
+
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-discovery
+ 2.1.0.RELEASE
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-config
+ 2.1.0.RELEASE
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-sentinel
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-devtools
+ true
+
org.springframework.boot
spring-boot-starter-web
-
- org.mybatis.spring.boot
- mybatis-spring-boot-starter
- 2.1.3
-
-
org.springframework.boot
- spring-boot-starter-data-redis
+ spring-boot-starter-test
+ test
-
+
org.springframework.boot
spring-boot-starter-security
-
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 1.3.2
+
+
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+
+
+ com.alibaba
+ druid-spring-boot-starter
+ ${druid.version}
+
+
+ org.springframework.boot
+ spring-boot-starter-data-redis
+
mysql
mysql-connector-java
runtime
-
-
- com.alibaba
- druid-spring-boot-starter
- 1.1.9
-
-
+
+
tk.mybatis
mapper
4.1.5
+
+ org.apache.poi
+ poi
+ ${poi.version}
+
+
+ org.apache.poi
+ poi-ooxml
+ ${poi.version}
+
+
+ com.jcraft
+ jsch
+ 0.1.55
+
+
+
+ javax.xml.bind
+ jaxb-api
+ 2.3.0
+
+
+ com.sun.xml.bind
+ jaxb-impl
+ 2.3.0
+
+
+ com.sun.xml.bind
+ jaxb-core
+ 2.3.0
+
+
+
+
+
+ org.projectlombok
+ lombok
+ provided
+
+
+ io.swagger
+ swagger-annotations
+ 1.6.2
+ compile
+
+
+
+ org.apache.poi
+ poi-ooxml
+ 3.17
+
+
+
+ com.jcraft
+ jsch
+ 0.1.55
+
+
+ javax.xml.bind
+ jaxb-api
+ 2.3.0
+
+
+ com.sun.xml.bind
+ jaxb-impl
+ 2.3.0
+
+
+ com.sun.xml.bind
+ jaxb-core
+ 2.3.0
+
+
+ org.apache.commons
+ commons-lang3
+ 3.9
+
org.apache.poi
@@ -66,11 +214,6 @@
poi-ooxml
3.11
-
- org.apache.commons
- commons-lang3
- 3.7
-
commons-io
commons-io
@@ -81,6 +224,7 @@
commons-fileupload
1.3
+
com.alibaba
@@ -133,12 +277,78 @@
jave-native-linux64
2.4.5
-
- org.projectlombok
- lombok
- 1.16.18
- provided
+ cn.afterturn
+ easypoi-base
+ 4.5.0
+
+
+ org.hibernate
+ hibernate-validator
+ 6.0.18.Final
+
+
+ org.freemarker
+ freemarker
+ 2.3.30
+
+
+ com.aspose.words
+ aspose-words
+ 15.8.0
+
+
+
+ com.itextpdf
+ itextpdf
+ 5.5.10
+
+
+ com.itextpdf
+ itext-asian
+ 5.2.0
+
+
+ com.github.pagehelper
+ pagehelper
+ 5.2.0
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ 1.3.0
+
+
+ org.jetbrains
+ annotations
+ 13.0
+ compile
+
+
+ org.apache.commons
+ commons-compress
+ 1.19
+
+
+ org.apache.httpcomponents
+ httpclient
+ 4.5.5
+
+
+
+ com.squareup.okhttp3
+ okhttp
+ 3.10.0
+
+
+ cn.hutool
+ hutool-all
+ 5.3.2
+
+
+ io.springfox
+ springfox-swagger2
+ 2.8.0
@@ -152,23 +362,12 @@
jackson-mapper-asl
1.9.13
-
- org.bouncycastle
- bcprov-jdk15on
- 1.65
-
-
- com.github.pagehelper
- pagehelper-spring-boot-starter
- 1.3.0
-
-
-
- cn.hutool
- hutool-all
- 5.7.22
+ com.monitorjbl
+ xlsx-streamer
+ 2.1.0
+
@@ -176,16 +375,48 @@
org.springframework.boot
spring-boot-maven-plugin
+
+ 2.1.1.RELEASE
org.apache.maven.plugins
- 2.6
maven-resources-plugin
+ 2.6
UTF-8
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.22.2
+
+ true
+
+
+
+
+ org.apache.maven.plugins
+ maven-install-plugin
+ 2.5.2
+
+
+ install-jna-jar
+ clean
+
+ ${project.basedir}/libs/aspose-words-15.8.0-jdk16.jar
+ com.aspose.words
+ aspose-words
+ 15.8.0
+ jar
+ true
+
+
+ install-file
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/HnRealNameMw/src/main/java/com/bonus/hnrn/rnmw/RnmwApplication.java b/HnRealNameMw/src/main/java/com/bonus/hnrn/rnmw/RnmwApplication.java
index 98238b0..4f7ec1a 100644
--- a/HnRealNameMw/src/main/java/com/bonus/hnrn/rnmw/RnmwApplication.java
+++ b/HnRealNameMw/src/main/java/com/bonus/hnrn/rnmw/RnmwApplication.java
@@ -1,11 +1,14 @@
+
package com.bonus.hnrn.rnmw;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
@MapperScan("com.bonus.hnrn.rnmw.*.dao")
+@EnableDiscoveryClient
public class RnmwApplication {
public static void main(String[] args) {
diff --git a/HnRealNameMw/src/main/resources/application.properties b/HnRealNameMw/src/main/resources/application.properties
index 9903b53..766634b 100644
--- a/HnRealNameMw/src/main/resources/application.properties
+++ b/HnRealNameMw/src/main/resources/application.properties
@@ -1,47 +1,47 @@
-server.port=1917
-server.servlet.context-path=/hnMw
-spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-spring.datasource.url=jdbc:mysql://192.168.0.14:1116/hn_real_name?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-spring.datasource.username=root
-spring.datasource.password= plzhnreal@mysql123!
-spring.datasource.initialSize=5
-spring.datasource.minIdle=5
-spring.datasource.maxActive=60
-spring.datasource.maxWait=60000
-spring.datasource.timeBetweenEvictionRunsMillis=60000
-spring.datasource.minEvictableIdleTimeMillis=300000
-spring.datasource.validationQuery=SELECT 1
-spring.datasource.testWhileIdle=true
-spring.datasource.testOnBorrow=true
-spring.datasource.testOnReturn=false
-spring.datasource.poolPreparedStatements=true
-spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
-spring.datasource.filters=stat,wall,log4j
-spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
-
-server.session.timeout=10
-server.tomcat.uri-encoding=UTF-8
-mybatis.mapper-locations=classpath:mappers/*/*Mapper.xml
-mybatis.type-aliases-package=com.bonus.hnrn.rnmw.*.entity
-#redis config
-spring.redis.host=192.168.0.14
-spring.redis.port=2001
-spring.redis.password=Dszbns@Redis123!
-# \uFFFD\uFFFD\u05BE
-logging.config=classpath:logback-boot.xml
-log.level.root=info
-log.level.my=debug
-log.file=logs/sys-back.log
-log.maxsize=30MB
-#\uFFFD\uFFFD\uFFFD\uFFFD\u0377\uFFFD\uFFFD\u0421
-server.max-http-header-size=102400
-spring.servlet.multipart.max-file-size=-1
-spring.servlet.multipart.max-request-size=-1
-spring.http.multipart.maxFileSize=10Mb
-spring.http.multipart.maxRequestSize=10Mb
-#\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u00FB\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD
-#spring.security.user.name=zys
-#spring.security.user.password=123
-token.expire.seconds=7200
-#\uFFFD\u013C\uFFFD\uFFFD\u03F4\uFFFD
-spring.servlet.multipart.enabled=true
\ No newline at end of file
+#server.port=1917
+#server.servlet.context-path=/hnMw
+#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
+#spring.datasource.url=jdbc:mysql://192.168.0.14:1116/hn_real_name?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
+#spring.datasource.username=root
+#spring.datasource.password= plzhnreal@mysql123!
+#spring.datasource.initialSize=5
+#spring.datasource.minIdle=5
+#spring.datasource.maxActive=60
+#spring.datasource.maxWait=60000
+#spring.datasource.timeBetweenEvictionRunsMillis=60000
+#spring.datasource.minEvictableIdleTimeMillis=300000
+#spring.datasource.validationQuery=SELECT 1
+#spring.datasource.testWhileIdle=true
+#spring.datasource.testOnBorrow=true
+#spring.datasource.testOnReturn=false
+#spring.datasource.poolPreparedStatements=true
+#spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
+#spring.datasource.filters=stat,wall,log4j
+#spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
+#
+#server.session.timeout=10
+#server.tomcat.uri-encoding=UTF-8
+#mybatis.mapper-locations=classpath:mappers/*/*Mapper.xml
+#mybatis.type-aliases-package=com.bonus.hnrn.rnmw.*.entity
+##redis config
+#spring.redis.host=192.168.0.14
+#spring.redis.port=2001
+#spring.redis.password=Dszbns@Redis123!
+## \uFFFD\uFFFD\u05BE
+#logging.config=classpath:logback-boot.xml
+#log.level.root=info
+#log.level.my=debug
+#log.file=logs/sys-back.log
+#log.maxsize=30MB
+##\uFFFD\uFFFD\uFFFD\uFFFD\u0377\uFFFD\uFFFD\u0421
+#server.max-http-header-size=102400
+#spring.servlet.multipart.max-file-size=-1
+#spring.servlet.multipart.max-request-size=-1
+#spring.http.multipart.maxFileSize=10Mb
+#spring.http.multipart.maxRequestSize=10Mb
+##\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u00FB\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD
+##spring.security.user.name=zys
+##spring.security.user.password=123
+#token.expire.seconds=7200
+##\uFFFD\u013C\uFFFD\uFFFD\u03F4\uFFFD
+#spring.servlet.multipart.enabled=true
\ No newline at end of file
diff --git a/HnRealNameMw/src/main/resources/bootstrap.yml b/HnRealNameMw/src/main/resources/bootstrap.yml
new file mode 100644
index 0000000..f5f1105
--- /dev/null
+++ b/HnRealNameMw/src/main/resources/bootstrap.yml
@@ -0,0 +1,81 @@
+server:
+ port: 1918
+ tomcat:
+ connection-timeout: 10
+ uri-encoding: UTF-8
+ max-http-header-size: 102400
+ multipart:
+ max-file-size: 20MB
+ max-request-size: 20MB
+ maxFileSize: 10Mb
+ maxRequestSize: 10Mb
+# 数据源配置
+spring:
+ application:
+ name: bonus-realname-web
+ profiles:
+ # 环境配置
+ active: dev
+ cloud:
+ nacos:
+ config:
+ server-addr: 192.168.0.14:18848
+ namespace: e0337b55-080d-456e-8449-46d68dceee5b
+ # 配置文件格式
+ file-extension: yml
+ group: DEFAULT_GROUP
+ # nacos.core.auth.enabled=true 开启权限验证
+ discovery:
+ # nacos地址
+ server-addr: 192.168.0.14:18848
+ namespace: e0337b55-080d-456e-8449-46d68dceee5b
+
+
+
+# datasource:
+# driverClassName: com.mysql.cj.jdbc.Driver
+# url: jdbc:mysql://192.168.0.14:4418/hn_real_name_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&useSSL=false
+# username: root
+# password: Bonus@admin123!
+# max-idle: 10
+# max-wait: 60000
+# min-idle: 5
+# initial-size: 5
+# redis:
+# host: 192.168.0.14
+# port: 2004
+# password: Plzbns@Redis123!
+
+# mybatis配置
+mybatis:
+ mapper-locations: classpath:mappers/*/*Mapper.xml
+ type-aliases-package: com.bonus.hnrn.rnbmw.*.entity
+
+logging:
+ level:
+ root: INFO
+ pattern:
+ console: "%d{yyyy-MM-dd HH:mm:ss} - %msg%n"
+log:
+ level:
+ root: info
+ my: debug
+ file: logs/sys-back.log
+ maxsize: 30M
+
+
+files:
+ path: /rdata/gz_real_name/
+ upload_path: /rdata/gz_real_name
+token:
+ expire:
+ seconds: 7200
+loginCode:
+ expiration: 3
+ prefix: login_code
+jasypt:
+ encryptor:
+ password: Encrypt
+
+
+
diff --git a/hn-gateway/bonus-common/bonus-common-security/pom.xml b/hn-gateway/bonus-common/bonus-common-security/pom.xml
index 7786c3c..0171a65 100644
--- a/hn-gateway/bonus-common/bonus-common-security/pom.xml
+++ b/hn-gateway/bonus-common/bonus-common-security/pom.xml
@@ -23,11 +23,7 @@
5.1.3.RELEASE
-
-
- com.bonus
- bonus-api-system
-
+