shopping_project/bwie-modules/bwie-authen/src/main/resources/bootstrap.yml

59 lines
1.3 KiB
YAML

# Tomcat
server:
port: 9004
# Spring
spring:
main:
allow-circular-references: true
allow-bean-definition-overriding: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
application:
# 应用名称
name: bwie-authen
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 124.221.177.197:8848
config:
# 配置中心地址
server-addr: 124.221.177.197:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
aliyun:
end-point: oss-cn-shanghai.aliyuncs.com
access-key-id: LTAI5tEoxVDPCxDpxXLRjUuz
access-key-secret: 503OGWrDojxpI5fNrojaXaRJC6ya6y
# access-pre: https://dongxiaojie.oss-cn-shanghai.aliyuncs.com
bucket-name: ueana
ocr:
host: https://cardnumber.market.alicloudapi.com
path: /rest/160601/ocr/ocr_idcard.json
appcode: 13a8b5b781bc4c458ce2de65ed79be80
Content-Type: application/json; charset=UTF-8
idcheck:
host: https://jumdata.market.alicloudapi.com
path: /idcard/validate
appcode: 13a8b5b781bc4c458ce2de65ed79be80
alive:
appcode: 13a8b5b781bc4c458ce2de65ed79be80
host: https://life.shumaidata.com/checklife
authen:
coreSize: 21
coreMax: 51