106 lines
3.4 KiB
YAML
106 lines
3.4 KiB
YAML
# 项目相关配置
|
||
cpop:
|
||
# 文件路径 示例( Windows配置W:/WorkSpace/java/uploadPath,Linux配置 /home/baseFramework/uploadPath)
|
||
profile: /root/cpop-union/cpop-mall/upload
|
||
jwt:
|
||
#白名单
|
||
whiteList: /websocket/*,/login,/getCaptcha,/profile/**,/doc.html,/webjars/**,/favicon.ico,/v2/api-docs/**,/swagger-resources,/wxOpen/receiveTicket,/wxOpen/*/callback,/wxOpen/bindOpenAccount/*,/wxCp/portal/*,/wxCp/portal/*/registerCode,/wxCp/*,/sysCommon/miniSyncBrandAndStore
|
||
#拦截
|
||
gateway:
|
||
rsa-keypair:
|
||
# 公钥文件
|
||
publicKeyFile: /root/jambox-union/jambox-oam/script/secretKey/publicKey
|
||
# 公钥文件
|
||
privateKeyFile: /root/jambox-union/jambox-oam/script/secretKey/privateKey
|
||
# 公钥文件
|
||
#publicKeyFile: E:\Cpop\Cpop-Union\Cpop-Core\src\main\resources\static\keyPair\publicKey
|
||
# 公钥文件
|
||
#privateKeyFile: E:\Cpop\Cpop-Union\Cpop-Core\src\main\resources\static\keyPair\privateKey
|
||
|
||
# DataSource Config
|
||
spring:
|
||
application:
|
||
name: Cpop-Oam-Test
|
||
#redis配置
|
||
redis:
|
||
#地址
|
||
host: gz-crs-lv77ii2t.sql.tencentcdb.com
|
||
#端口
|
||
port: 27714
|
||
#数据库
|
||
database: 1
|
||
#密码
|
||
password: Cpop2022@
|
||
#连接超时
|
||
timeout: 5000
|
||
lettuce:
|
||
pool:
|
||
#
|
||
min-idle: 0
|
||
#
|
||
max-idle: 8
|
||
#
|
||
max-active: 8
|
||
#
|
||
max-wait: -1ms
|
||
data:
|
||
mongodb:
|
||
host: localhost
|
||
port: 27017
|
||
database: rock-blade
|
||
|
||
server:
|
||
port: 8420
|
||
servlet:
|
||
context-path: /Cpop-Oam
|
||
|
||
#Mybatis-Flex
|
||
mybatis-flex:
|
||
configuration:
|
||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||
datasource:
|
||
mall:
|
||
url: jdbc:mysql://sh-cynosdbmysql-grp-fggo83js.sql.tencentcdb.com:20965/cpop_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||
username: root
|
||
password: Customer0401
|
||
jambox:
|
||
url: jdbc:mysql://sh-cynosdbmysql-grp-fggo83js.sql.tencentcdb.com:20965/jambox_test?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
|
||
username: root
|
||
password: Customer0401
|
||
|
||
# springdoc-openapi项目配置
|
||
knife4j:
|
||
enable: true
|
||
openapi:
|
||
title: Cpop-OAM开发API
|
||
description: PuPu-OAM开发API
|
||
email:
|
||
concat: DB
|
||
url: https://api.jamboxsys.com
|
||
version: 1.0.0
|
||
license: Apache 2.0
|
||
license-url: https://stackoverflow.com/
|
||
terms-of-service-url: https://api.jamboxsys.com
|
||
group:
|
||
#系统
|
||
system:
|
||
group-name: Oam
|
||
api-rule: package
|
||
api-rule-resources:
|
||
- com.cpop.oam
|
||
|
||
#微信支付
|
||
wx:
|
||
pay:
|
||
# p12证书的位置,可以指定绝对路径,也可以指定类路径(以classpath:开头)
|
||
keyPath: /root/cpop-union/cpop-oam/script/secretKey/wxPay_cert.p12
|
||
# 私钥证书
|
||
privateKeyPath: /root/cpop-union/cpop-oam/script/secretKey/wxPay_key.pem
|
||
# 私钥文件
|
||
privateCertPath: /root/cpop-union/cpop-oam/script/secretKey/wxPay_cert.pem
|
||
# p12证书的位置,可以指定绝对路径,也可以指定类路径(以classpath:开头)
|
||
#keyPath: E:/Cpop/Cpop-Union/Cpop-Core/src/main/resources/static/keyPair/wxPay_cert.p12
|
||
# 私钥证书
|
||
#privateKeyPath: E:/Cpop/Cpop-Union/Cpop-Core/src/main/resources/static/keyPair/wxPay_key.pem
|
||
# 私钥文件
|
||
#privateCertPath: E:/Cpop/Cpop-Union/Cpop-Core/src/main/resources/static/keyPair/wxPay_cert.pem |