2024-12-18 17:03:05 +08:00
|
|
|
|
server:
|
|
|
|
|
port: 8090
|
|
|
|
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
global-config:
|
|
|
|
|
db-config:
|
|
|
|
|
id-type: auto
|
|
|
|
|
field-strategy: not_empty
|
|
|
|
|
#驼峰下划线转换
|
|
|
|
|
column-underline: true
|
|
|
|
|
#逻辑删除配置
|
|
|
|
|
logic-delete-value: 0
|
|
|
|
|
logic-not-delete-value: 1
|
|
|
|
|
db-type: postgresql
|
|
|
|
|
refresh: false
|
|
|
|
|
configuration:
|
|
|
|
|
map-underscore-to-camel-case: true
|
|
|
|
|
cache-enabled: false
|
|
|
|
|
mapper-locations: classpath:/mapper/*.xml
|
|
|
|
|
type-aliases-package: com.message.api.log.entity
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
##连接数据库
|
|
|
|
|
datasource:
|
|
|
|
|
username: postgres
|
|
|
|
|
password: gcu2023sms@
|
|
|
|
|
url: jdbc:postgresql://127.0.0.1:5432/pixelai
|
|
|
|
|
driver-class-name: org.postgresql.Driver
|
|
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
|
main:
|
|
|
|
|
allow-bean-definition-overriding: true
|
|
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
max-file-size: 100MB
|
|
|
|
|
max-request-size: 200MB
|
|
|
|
|
redis:
|
|
|
|
|
host: 127.0.0.1
|
|
|
|
|
port: 6379
|
|
|
|
|
# password: fongtech6400
|
|
|
|
|
jedis:
|
|
|
|
|
pool:
|
|
|
|
|
max-wait: 30000 #连接池最大阻塞等待时间
|
|
|
|
|
max-active: 100 #连接池最大连接数
|
|
|
|
|
max-idle: 20 #连接池中的最大空闲连接数
|
|
|
|
|
min-idle: 0 #连接池中的最小空闲连接
|
|
|
|
|
timeout: 10000 #连接超时
|
|
|
|
|
jackson:
|
|
|
|
|
## 格式为yyyy-MM-dd HH:mm:ss
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
## 定时区,解决8小时的时间差问题
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
userproperties:
|
|
|
|
|
updatepwdtime: 15552000 #密码更新期限180天, 180*24*60*60
|
|
|
|
|
|
|
|
|
|
logging.level.com.hejr.springboot2_003.mapper: debug
|
|
|
|
|
|
|
|
|
|
#单点登录信息
|
|
|
|
|
sso:
|
|
|
|
|
appId: 500000099
|
|
|
|
|
secret: dYp4pHNiuKxTizdOlKtu
|
|
|
|
|
|
|
|
|
|
external:
|
|
|
|
|
resource:
|
2025-01-07 22:09:19 +08:00
|
|
|
|
dir: upload
|
|
|
|
|
|
2025-01-19 23:33:05 +08:00
|
|
|
|
#阿里云生产
|
2025-01-07 22:09:19 +08:00
|
|
|
|
aliyun:
|
|
|
|
|
oss:
|
2025-01-19 23:33:05 +08:00
|
|
|
|
endpoint: "oss-cn-guangzhou.aliyuncs.com"
|
|
|
|
|
accessKeyId: "LTAI5t63g5prxfAg2qXnbLrA"
|
|
|
|
|
accessKeySecret: "sh0ArU0UjWrYY7pUcQ8M9wTZpvJtbq"
|
|
|
|
|
bucketName: "pixel-ai-file"
|
|
|
|
|
aliyunKey: "sk-e5cf88b5e5f449e68ee32f3af20c0e8e"
|
|
|
|
|
|
2025-01-07 22:09:19 +08:00
|
|
|
|
|
|
|
|
|
# 火山引擎配置
|
|
|
|
|
volcengine:
|
2025-01-19 23:33:05 +08:00
|
|
|
|
AccessKeyID: AKLTZWYwOWQ4Y2VlZmViNGU4MWI3YzY5NWQ3NTVkNzFjNWU
|
|
|
|
|
SecretAccessKey: WVdJeU9XTXlZVE00TXpka05HUmhabUU1TXpjME16RTJPRGsyWkRjM1pUZw==
|
2025-01-21 17:09:24 +08:00
|
|
|
|
|
|
|
|
|
wechat:
|
|
|
|
|
pay:
|
|
|
|
|
merchantId: 1702829541
|
|
|
|
|
privateKeyPath: src/main/resources/wechat/apiclient_key.pem # D:\chromeDown\WXCertUtil\cert\apiclient_key.pem D:\cert\apiclient_key.pem
|
|
|
|
|
merchantSerialNumber: 1729D576BA6419FB50FB39436581D6AA98DF931D
|
|
|
|
|
apiV3Key: APOsmG7Ry5i2z5264M8d7zfFMs3hY7h1
|
|
|
|
|
appId: wx2a3ff6e1a0e4f093
|
|
|
|
|
addressIp: 1.12.224.227 #120.235.233.15
|
|
|
|
|
notifyUrl: http://www.ylemai.cn/pixelApi/paOrder/payNotify #http://localhost:8081/paOrder/payNotify http://8.138.171.103/pixelApi/paOrder/payNotify
|