server: port: 8082 undertow: buffer-size: 1024 direct-buffers: true max-http-header-size: 8192 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://sh-cdb-4tdnmrqa.sql.tencentcdb.com:63893/yhlxj_pre?useAffectedRows=true username: yhlxj password: yhlxj123 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: 180000 max-lifetime: 600000 read-only: false connection-timeout: 30000 connection-test-query: SELECT 1 # # 以下配置推荐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: 30000, socketTimeout: 20000, # 服务端缓存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: 3 # Redis服务器地址 host: 127.0.0.1 # Redis服务器连接端口 port: 63222 # Redis 密码 password: yinhe9913 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.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: oldAppid: wxd58016eee53b6558 appid: wx6cbc2de2a55e5579 secret: 2ab6340e7787ab24de9f29094dee9d24 domain: https://nf.video/8082/api/ #默认微信商户 shopid: 1634772026 shopKey: p2B8BAKi2V3PgMDSSez82V67aIvMKBt5 payMsg: 银河录像局 wx-login: appid: wx7c5494c38c6a78bd secret: 95c7c542a583b42840765d758ec49bf5 redirectUri: https://nf.video/8082/api/auth/wx/authLogin/baseRedirect loginUrl: https://nf.video cpsRedirectUri: https://nf.video/8082/api/cps/manage/wx/authLogin/baseRedirect cpsLoginUrl: https://cps.nf.video/yinhe/cps/loginNexte yhShopRedirectUri: https://nf.video/8082/api/yhShop/manage/wx/authLogin/baseRedirect yhShopLoginUrl: https://shop.liuliangbang.vip/mall/admin/loginNexte baRedirectUrl: https://nf.video/8082/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/8082/api/auth/wx/authLogin/baseRedirect loginUrl: https://shop.liuliangbang.vip/ remark: 小店店铺网页微信授权 yhlx: corpId: ww9c0ccaad2e9d3822 corpSecret: Ov0mlArSItBrs9EuOMt5Ou_faGdplDDIvPgIhgup51E encodingAESKey: bqoACJutQEgW7KOgBoezuQkk7y2HQSyRp1sQ8qnAi6C token: 2e0aWIfBewWNN5BNMq9cBeLf9x domain: https://nf.video/8082/api/ #银河录像局小程序 yhmini: appid: wx383c483d3bcf155a secret: bf6ca029a3102f390486a7a14b218b06 #银河录像局大学生认证小程序 certmini: appid: wx16e441d61fa3fd8a secret: edc2e8ed29a45d6ba266a63bc7ffc2b5 #广告投放小程序 advertisement: appId: wx895f960ea6b8c5d0 secret: 19b5f5121bc7cc1bc010ee7c4ac509e9 shopId: 1644299849 shopKey: 5y5ZScTJGm0q0umHQOD4r3EfjRvCioUx notify: https://nf.video/8082/api/ #广告投放公众号 advertisementwxapp: appId: wx6158deb06d316e0b secret: 44c1e7431099fc0bd21dc320822b0108 shopId: 1644299849 shopKey: 5y5ZScTJGm0q0umHQOD4r3EfjRvCioUx notify: https://xue.niupian.com.cn/8082/api/ chatgpt: domain: "https://gpt.galaxydvd.com" car: domain: "https://car.galaxydvd.com" smsVerify: apikey: bc0737b7339ab0f275f954a161fdb313 shoppingApikey: 72d4ff765b6c962f35c9a4125100680d midjourney: url: https://nf.video drawUrl: https://nf.video/drawTest/web/