配置文件
parent
6ea7611c36
commit
b1c3824634
|
|
@ -39,7 +39,7 @@
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mainClass>com.zcloud.risk.Application</mainClass>
|
<mainClass>com.zcloud.certificate.Application</mainClass>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
spring:
|
spring:
|
||||||
config:
|
config:
|
||||||
import:
|
import:
|
||||||
- classpath:nacos.yml
|
# - classpath:nacos.yml
|
||||||
- classpath:sdk.yml
|
# - classpath:sdk.yml
|
||||||
|
- classpath:nacos-prod.yml
|
||||||
|
- classpath:sdk-prod.yml
|
||||||
- classpath:swagger.yml
|
- classpath:swagger.yml
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
nacos:
|
||||||
|
url: prod-nacos:8848
|
||||||
|
namespace: jjb-dragon
|
||||||
|
application:
|
||||||
|
name: jjb-saas-zcloud-certificate
|
||||||
|
version:
|
||||||
|
gateway: certificate
|
||||||
|
cn-name: 证照管理
|
||||||
|
spring:
|
||||||
|
application:
|
||||||
|
name: ${application.name}${application.version}
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
config:
|
||||||
|
username: nacos
|
||||||
|
password: u9Hc7tLFBY
|
||||||
|
namespace: ${nacos.namespace}
|
||||||
|
server-addr: ${nacos.url}
|
||||||
|
file-extension: yml
|
||||||
|
shared-configs:
|
||||||
|
- config-common.yml
|
||||||
|
- config-port.yml
|
||||||
|
- config-mq.yml
|
||||||
|
- config-log.yml
|
||||||
|
- config-sdk-server.yml
|
||||||
|
- config-actuator.yml
|
||||||
|
- config-job.yml
|
||||||
|
- config-mysql.yml
|
||||||
|
- config-redis.yml
|
||||||
|
- config-cache.yml
|
||||||
|
- config-spring.yml
|
||||||
|
- config-mybatis.yml
|
||||||
|
- config-sdk.yml
|
||||||
|
- config-flyway.yml
|
||||||
|
discovery:
|
||||||
|
server-addr: ${spring.cloud.nacos.config.server-addr}
|
||||||
|
namespace: ${spring.cloud.nacos.config.namespace}
|
||||||
|
username: nacos
|
||||||
|
password: u9Hc7tLFBY
|
||||||
|
|
@ -0,0 +1,63 @@
|
||||||
|
sdk:
|
||||||
|
server:
|
||||||
|
app-key: 8790123e6cf1441d9e618346e9c7a17f
|
||||||
|
client:
|
||||||
|
gateway:
|
||||||
|
url: ${common.gateway.network.http.external}
|
||||||
|
route:
|
||||||
|
- client:
|
||||||
|
system-code: ${application.name}
|
||||||
|
name: ${application.cn-name}-后端
|
||||||
|
group-code: public_api
|
||||||
|
service:
|
||||||
|
system-code: ${application.name}
|
||||||
|
name: ${application.cn-name}-后端
|
||||||
|
group-code: public_api
|
||||||
|
strip-prefix: 0
|
||||||
|
uri: http://${application.name}
|
||||||
|
path: /${application.gateway}/**
|
||||||
|
- client:
|
||||||
|
system-code: ${application.name}-container
|
||||||
|
name: ${application.cn-name}-前端
|
||||||
|
group-code: public_api
|
||||||
|
service:
|
||||||
|
system-code: ${application.name}-container
|
||||||
|
name: ${application.cn-name}-前端
|
||||||
|
group-code: public_api
|
||||||
|
strip-prefix: 0
|
||||||
|
uri: http://jjb-saas-base
|
||||||
|
path: /${application.gateway}/container/**
|
||||||
|
order: -2
|
||||||
|
openapi:
|
||||||
|
appId: 1871106785124999168
|
||||||
|
appKey: 7314ecfc11ff4d5fad1ac19284ed2ac3
|
||||||
|
appSecret: 7565ab15-a2ae-4830-9b4d-fb382cd5fb30
|
||||||
|
appPublicKey: 3059301306072a8648ce3d020106082a811ccf5501822d03420004f339671110a06681fcfd968ad9247bd3cd0d2ec6b2159d1d4b775e7ed5566b3297d82cf14b626ef11fdd6bc7ecb6bcfb3ea94ccd1f381f4116f43367be4b360f
|
||||||
|
appPrivateKey: 308193020100301306072a8648ce3d020106082a811ccf5501822d0479307702010104206b6abc8e717b7d042f1e8531190a7c18113e4a701417f2770d2150d33ba97779a00a06082a811ccf5501822da14403420004f339671110a06681fcfd968ad9247bd3cd0d2ec6b2159d1d4b775e7ed5566b3297d82cf14b626ef11fdd6bc7ecb6bcfb3ea94ccd1f381f4116f43367be4b360f
|
||||||
|
encryptType: SM2
|
||||||
|
platform:
|
||||||
|
- name: default
|
||||||
|
openPublicKey: 3059301306072a8648ce3d020106082a811ccf5501822d034200045b5d8fcad91e113910406db4caf0f5c6688048e0f46742d55f872a25855316803ddb177cc9bb5906ff0b2ad4d6b1f1378a49109104613e79b5b5512e3710e88f
|
||||||
|
url: ${common.gateway.network.http.intranet}
|
||||||
|
protocol: HTTP
|
||||||
|
defaultPlatform: true
|
||||||
|
##ciphertext plaintext
|
||||||
|
type: plaintext
|
||||||
|
apiPlatform:
|
||||||
|
- name: default
|
||||||
|
#多个可以逗号隔开
|
||||||
|
apiCode: test:01
|
||||||
|
#多个可以逗号隔开,可以为空
|
||||||
|
tenantIds: 1838408702262321152
|
||||||
|
certificate:
|
||||||
|
message:
|
||||||
|
template:
|
||||||
|
one-day-before-expire: MS000093
|
||||||
|
three-day-before-expire: MS000094
|
||||||
|
seven-day-before-expire: MS000096
|
||||||
|
fifteen-day-before-expire: MS000098
|
||||||
|
thirty-day-before-expire: MS000099
|
||||||
|
ninety-day-before-expire: MS000100
|
||||||
|
seven-day-before-expire-copy-leader: MS000095
|
||||||
|
fifteen-day-before-expire-copy-leader: MS000097
|
||||||
|
|
||||||
Loading…
Reference in New Issue