| 1 |
- server:
port: 8081
undertow:
buffer-size: 1024
direct-buffers: false
spring:
servlet:
multipart:
max-file-size: 50MB
mail:
host: smtp.163.com
username: yinheluxiangju@163.com
password: CLQPJPRRUERGTDXO
protocol: smtp
properties.mail.smtp.auth: true
properties.mail.smtp.port: 465
properties.mail.smtp.starttls.enable: true
properties.mail.smtp.starttls.required: true
properties.mail.smtp.ssl.enable: true
default-encoding: utf-8
datasource:
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:mysql://inside.liuliangbang.vip:33306/yhlxj?useAffectedRows=true
username: dev
password: Dev.12345
platform: mysql
continue-on-error: false
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
pool-name: hikariCP-mysql-
maximum-pool-size: 10
minimum-idle: 6
idle-timeout: 30000
max-lifetime: 500000
read-only: false
connection-timeout: 30000
# 以下配置推荐mysql 5.7.27+ 或 8.0.18+
# https://cdn.oreillystatic.com/en/assets/1/event/21/Connector_J%20Performance%20Gems%20Presentation.pdf
data-source-properties: {
useSSL: false,
useAffectedRows: true,
useUnicode: true,
characterEncoding: utf8,
connectTimeout: 3000,
socketTimeout: 2000,
# 服务端缓存PrepStmts
useServerPrepStmts: true,
cachePrepStmts: true,
# 官方推荐250-500
prepStmtCacheSize: 512,
# 官方推荐2048
prepStmtCacheSqlLimit: 2048,
cacheServerConfiguration: true,
useLocalSessionState: true,
rewriteBatchedStatements: true,
useLocalTransactionState: true,
cacheResultSetMetadata: true,
elideSetAutoCommits: true,
maintainTimeStats: false,
}
redis:
# Redis数据库索引(默认为 0)
database: 1
# Redis服务器地址
host: r-bp11e3hvovqtzl0a27pd.redis.rds.aliyuncs.com
# Redis服务器连接端口
port: 6379
# Redis 密码
password: Shanxing12345
lettuce:
pool:
# 连接池中的最小空闲连接
min-idle: 8
# 连接池中的最大空闲连接
max-idle: 500
# 连接池最大连接数(使用负值表示没有限制)
max-active: 2000
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: 10000
# 连接超时时间(毫秒)
timeout: 5000
sa-token:
# token名称 (同时也是cookie名称)
token-name: satoken
# token有效期,单位s 默认30天, -1代表永不过期
timeout: 2592000
# token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
activity-timeout: -1
# 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
is-concurrent: true
# 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
is-share: false
# 同一账号最大登录数量
maxLoginCount: 3
# token风格
token-style: uuid
logging:
config: classpath:config/logback-debug.xml
#mybatis
mybatis:
mapper-locations: classpath:mapper/*Mapper.xml
executor-type: simple
type-aliases-package: com.cyksj.dao.model
configuration:
local-cache-scope: statement
cache-enabled: false
#Bean Searcher 分页配置
bean-searcher:
params:
pagination:
default-size: 10
page: start
size: limit
start: 1
#
wechat:
appid: wx13898511de49534f
secret: yhlxj2023yhlxj2023yhlxj2023yhlxj
domain: https://inside.liuliangbang.vip/8081/api/
notifyDomain: https://phoenix.nf.video/8081/api/
shopid: 1533703321
shopKey: p2B8BAKi2V3PgMDSSez82V67aIvMKBt5
payMsg: 银河录像局
wx-login:
appid: wx7c5494c38c6a78bd
secret: 95c7c542a583b42840765d758ec49bf5
redirectUri: https://inside.liuliangbang.vip/8081/api/auth/wx/authLogin/baseRedirect
loginUrl: https://inside.liuliangbang.vip/yinhe/web/
cpsRedirectUri: https://inside.liuliangbang.vip/8081/api/cps/manage/wx/authLogin/baseRedirect
cpsLoginUrl: https://inside.liuliangbang.vip/yinhe/cps/cpsLoginUrl
yhShopRedirectUri: https://inside.liuliangbang.vip/8081/api/yhShop/manage/wx/authLogin/baseRedirect
yhShopLoginUrl: https://inside.liuliangbang.vip/yinhe/yhShop/cpsLoginUrl
baRedirectUrl: https://inside.liuliangbang.vip/8081/api/applets/market/task/bind/wx/baseRedirect
cpsWebRedirectUri: https://inside.liuliangbang.vip/yinhe/cps/homePage
remark: 银河录像网页微信登录
wx-shop-login:
appid: wx7c5494c38c6a78bd #todo
secret: 95c7c542a583b42840765d758ec49bf5 #todo
redirectUri: https://shop.liuliangbang.vip/8081/api/auth/wx/authLogin/baseRedirect
loginUrl: https://shop.liuliangbang.vip/
remark: 小店店铺网页微信授权
yhlx:
corpId: ww9c0ccaad2e9d3822
corpSecret: Ov0mlArSItBrs9EuOMt5Ou_faGdplDDIvPgIhgup51E
encodingAESKey: bqoACJutQEgW7KOgBoezuQkk7y2HQSyRp1sQ8qnAi6C
token: 2e0aWIfBewWNN5BNMq9cBeLf9x
domain: https://inside.liuliangbang.vip/8081/api6
#银河录像局小程序
yhmini:
appid: wxad25d47ca915475b
secret: bf6ca029a3102f390486a7a14b218b06
#银河录像局大学生认证小程序
certmini:
appid: wx16e441d61fa3fd8a
secret: edc2e8ed29a45d6ba266a63bc7ffc2b5
#银河推广小程序
tgmini:
appid: wxd0a1b919646c04a0
secret: b67be7f297f3df4a14fc8aafcb84a26b
#广告投放小程序
advertisement:
appId: wx895f960ea6b8c5d0
secret: 19b5f5121bc7cc1bc010ee7c4ac509e9
shopId: 1644299849
shopKey: 5y5ZScTJGm0q0umHQOD4r3EfjRvCioUx
notify: https://inside.yicanggongyi.com/8081/api/
#广告投放公众号
advertisementwxapp:
appId: wx6158deb06d316e0b
secret: 44c1e7431099fc0bd21dc320822b0108
shopId: 1644299849
shopKey: 5y5ZScTJGm0q0umHQOD4r3EfjRvCioUx
notify: https://xue.niupian.com.cn/8081/api/
chatgpt:
domain: "https://chat.claudeplus.com.cn"
car:
domain: "https://car.claudeplus.com.cn"
smsVerify:
apikey: 72d4ff765b6c962f35c9a4125100680d
shoppingApikey: 72d4ff765b6c962f35c9a4125100680d
midjourney:
url: https://inside.yicanggongyi.com
drawUrl: https://inside.yicanggongyi.com/draw/web
luma:
url: https://luma.galaxydvd.com
videoUrl: https://luma.galaxydvd.com/videoTest/web
|