118 lines
3.5 KiB
YAML
118 lines
3.5 KiB
YAML
# 项目相关配置
|
||
cpop:
|
||
# 文件路径 示例( Windows配置W:/WorkSpace/java/uploadPath,Linux配置 /home/baseFramework/uploadPath)
|
||
profile: E:/Cpop/uploadPath
|
||
jwt:
|
||
#白名单
|
||
whiteList: /websocket/*,/login,/doc.html,/webjars/**,/favicon.ico,/v2/api-docs/**,/swagger-resources,/sysCommon/miniSyncBrandAndStore,/easyLearn/callback/*/*,/easyLearn/*,/mini/cardTemplate/*,/website/**,/backstage/wxCp/*,/callback/wxCp/*/registerCode,/callback/easyLearn/**,/cloudCallback/*,/mini/summit/*
|
||
gateway:
|
||
rsa-keypair:
|
||
# 公钥文件
|
||
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-Dev
|
||
#redis配置
|
||
redis:
|
||
#地址
|
||
host: gz-crs-lv77ii2t.sql.tencentcdb.com
|
||
#端口
|
||
port: 27714
|
||
#数据库
|
||
database: 1
|
||
#密码
|
||
password: Cpop2022@
|
||
#连接超时
|
||
timeout: 5000
|
||
jedis:
|
||
pool:
|
||
#
|
||
min-idle: 0
|
||
#
|
||
max-idle: 16
|
||
#
|
||
max-active: 16
|
||
#
|
||
max-wait: -1ms
|
||
client-type: jedis
|
||
data:
|
||
mongodb:
|
||
host: localhost
|
||
port: 27017
|
||
database: cpop-dev
|
||
username: Cpop
|
||
password: Admin@123
|
||
|
||
server:
|
||
port: 9420
|
||
servlet:
|
||
context-path: /Cpop-Oam
|
||
|
||
#Mybatis-Flex
|
||
mybatis-flex:
|
||
configuration:
|
||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||
datasource:
|
||
oam:
|
||
url: jdbc:mysql://localhost:3306/cpop_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||
username: root
|
||
password: Admin@123
|
||
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: PuPu-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:
|
||
#系统
|
||
Oam:
|
||
group-name: Oam
|
||
api-rule: package
|
||
api-rule-resources:
|
||
- com.cpop.oam
|
||
#系统
|
||
System:
|
||
group-name: System
|
||
api-rule: package
|
||
api-rule-resources:
|
||
- com.cpop.system
|
||
#果酱
|
||
Jambox:
|
||
group-name: Jambox
|
||
api-rule: package
|
||
api-rule-resources:
|
||
- com.cpop.jambox
|
||
|
||
#微信
|
||
wx:
|
||
pay:
|
||
# 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
|
||
# 先学后付用户签约通知地址
|
||
learn-now-pay-later-user-sign-plan-notify-url: https://frp-oak.top:11899/Cpop-Oam/callback/easyLearn/learnNowPayLaterUserSignPlanNotify
|
||
# 先学后付用户核销通知地址
|
||
learn-now-pay-later-service-order-notify-url: https://frp-oak.top:11899/Cpop-Oam/callback/easyLearn/learnNowPayLaterUserSignPlanNotify
|
||
#数币
|
||
ecpp:
|
||
pay:
|
||
base-url: https://newstage.ecnyenter.com |