application-pre.yml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. server:
  2. port: 8082
  3. undertow:
  4. buffer-size: 1024
  5. direct-buffers: true
  6. max-http-header-size: 8192
  7. spring:
  8. servlet:
  9. multipart:
  10. max-file-size: 50MB
  11. mail:
  12. host: smtp.163.com
  13. username: yinheluxiangju@163.com
  14. password: CLQPJPRRUERGTDXO
  15. protocol: smtp
  16. properties.mail.smtp.auth: true
  17. properties.mail.smtp.port: 465
  18. properties.mail.smtp.starttls.enable: true
  19. properties.mail.smtp.starttls.required: true
  20. properties.mail.smtp.ssl.enable: true
  21. default-encoding: utf-8
  22. datasource:
  23. type: com.zaxxer.hikari.HikariDataSource
  24. url: jdbc:mysql://sh-cdb-4tdnmrqa.sql.tencentcdb.com:63893/yhlxj_pre?useAffectedRows=true
  25. username: root_db
  26. password: 5nQqF1a&Yf1oig_T9k
  27. platform: mysql
  28. continue-on-error: false
  29. driver-class-name: com.mysql.cj.jdbc.Driver
  30. hikari:
  31. pool-name: hikariCP-mysql-
  32. maximum-pool-size: 10
  33. minimum-idle: 6
  34. idle-timeout: 180000
  35. max-lifetime: 600000
  36. read-only: false
  37. connection-timeout: 30000
  38. connection-test-query: SELECT 1
  39. # # 以下配置推荐mysql 5.7.27+ 或 8.0.18+
  40. # https://cdn.oreillystatic.com/en/assets/1/event/21/Connector_J%20Performance%20Gems%20Presentation.pdf
  41. data-source-properties: {
  42. useSSL: false,
  43. useAffectedRows: true,
  44. useUnicode: true,
  45. characterEncoding: utf8,
  46. connectTimeout: 30000,
  47. socketTimeout: 20000,
  48. # 服务端缓存PrepStmts
  49. useServerPrepStmts: true,
  50. cachePrepStmts: true,
  51. # 官方推荐250-500
  52. prepStmtCacheSize: 512,
  53. # 官方推荐2048
  54. prepStmtCacheSqlLimit: 2048,
  55. cacheServerConfiguration: true,
  56. useLocalSessionState: true,
  57. rewriteBatchedStatements: true,
  58. useLocalTransactionState: true,
  59. cacheResultSetMetadata: true,
  60. elideSetAutoCommits: true,
  61. maintainTimeStats: false,
  62. }
  63. redis:
  64. # Redis数据库索引(默认为 0)
  65. database: 3
  66. # Redis服务器地址
  67. host: 127.0.0.1
  68. # Redis服务器连接端口
  69. port: 63222
  70. # Redis 密码
  71. password: yinhe9913
  72. lettuce:
  73. pool:
  74. # 连接池中的最小空闲连接
  75. min-idle: 8
  76. # 连接池中的最大空闲连接
  77. max-idle: 500
  78. # 连接池最大连接数(使用负值表示没有限制)
  79. max-active: 2000
  80. # 连接池最大阻塞等待时间(使用负值表示没有限制)
  81. max-wait: 10000
  82. # 连接超时时间(毫秒)
  83. timeout: 5000
  84. sa-token:
  85. # token名称 (同时也是cookie名称)
  86. token-name: satoken
  87. # token有效期,单位s 默认7天, -1代表永不过期
  88. timeout: 604800
  89. # token临时有效期 3天 (指定时间内无操作就视为token过期) 单位: 秒
  90. activity-timeout: 259200
  91. # 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
  92. is-concurrent: true
  93. # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
  94. is-share: false
  95. # 同一账号最大登录数量
  96. maxLoginCount: 3
  97. # token风格
  98. token-style: uuid
  99. logging:
  100. config: classpath:config/logback.xml
  101. #mybatis
  102. mybatis:
  103. mapper-locations: classpath:mapper/*Mapper.xml
  104. executor-type: simple
  105. type-aliases-package: com.cyksj.dao.model
  106. configuration:
  107. local-cache-scope: statement
  108. cache-enabled: false
  109. #Bean Searcher 分页配置
  110. bean-searcher:
  111. params:
  112. pagination:
  113. default-size: 10
  114. page: start
  115. size: limit
  116. start: 1
  117. wechat:
  118. oldAppid: wxd58016eee53b6558
  119. appid: wx6cbc2de2a55e5579
  120. secret: 2ab6340e7787ab24de9f29094dee9d24
  121. domain: https://nf.video/8082/api/
  122. notifyDomain: https://phoenix.nf.video/8082/api/
  123. #默认微信商户
  124. shopid: 1634772026
  125. shopKey: p2B8BAKi2V3PgMDSSez82V67aIvMKBt5
  126. payMsg: 银河录像局
  127. wx-login:
  128. appid: wx7c5494c38c6a78bd
  129. secret: 95c7c542a583b42840765d758ec49bf5
  130. redirectUri: https://nf.video/8082/api/auth/wx/authLogin/baseRedirect
  131. loginUrl: https://nf.video
  132. cpsRedirectUri: https://nf.video/8082/api/cps/manage/wx/authLogin/baseRedirect
  133. cpsLoginUrl: https://cps.nf.video/yinhe/cps/loginNexte
  134. yhShopRedirectUri: https://nf.video/8082/api/yhShop/manage/wx/authLogin/baseRedirect
  135. yhShopLoginUrl: https://shop.liuliangbang.vip/mall/admin/loginNexte
  136. baRedirectUrl: https://nf.video/8082/api/applets/market/task/bind/wx/baseRedirect
  137. cpsWebRedirectUri: https://cps.nf.video/test/cps/homePage
  138. userMirrorShopRedirectUri: https://bestaistore.com/8082/api/mirrorShop/manage/wx/authLogin/baseRedirect
  139. userMirrorShopLoginUrl: https://bestaistore.com/mirrorTest/web/
  140. manageRedirectUri: https://nf.video/8082/api/manage/user/wx/authLogin/baseRedirect
  141. remark: 银河录像网页微信登录
  142. wx-shop-login:
  143. appid: wx7c5494c38c6a78bd #todo
  144. secret: 95c7c542a583b42840765d758ec49bf5 #todo
  145. redirectUri: https://shop.liuliangbang.vip/8082/api/auth/wx/authLogin/baseRedirect
  146. loginUrl: https://shop.liuliangbang.vip/
  147. remark: 小店店铺网页微信授权
  148. yhlx:
  149. corpId: ww9c0ccaad2e9d3822
  150. corpSecret: Ov0mlArSItBrs9EuOMt5Ou_faGdplDDIvPgIhgup51E
  151. encodingAESKey: bqoACJutQEgW7KOgBoezuQkk7y2HQSyRp1sQ8qnAi6C
  152. token: 2e0aWIfBewWNN5BNMq9cBeLf9x
  153. domain: https://nf.video/8082/api/
  154. #银河录像局小程序
  155. yhmini:
  156. appid: wx383c483d3bcf155a
  157. secret: bf6ca029a3102f390486a7a14b218b06
  158. #银河录像局大学生认证小程序
  159. certmini:
  160. appid: wx16e441d61fa3fd8a
  161. secret: edc2e8ed29a45d6ba266a63bc7ffc2b5
  162. #银河推广小程序
  163. tgmini:
  164. appid: wxd0a1b919646c04a0
  165. secret: b67be7f297f3df4a14fc8aafcb84a26b
  166. #广告投放小程序
  167. advertisement:
  168. appId: wx895f960ea6b8c5d0
  169. secret: 19b5f5121bc7cc1bc010ee7c4ac509e9
  170. shopId: 1644299849
  171. shopKey: 5y5ZScTJGm0q0umHQOD4r3EfjRvCioUx
  172. notify: https://nf.video/8082/api/
  173. #广告投放公众号
  174. advertisementwxapp:
  175. appId: wx6158deb06d316e0b
  176. secret: 44c1e7431099fc0bd21dc320822b0108
  177. shopId: 1644299849
  178. shopKey: 5y5ZScTJGm0q0umHQOD4r3EfjRvCioUx
  179. notify: https://xue.niupian.com.cn/8082/api/
  180. chatgpt:
  181. domain: "https://gpt.galaxydvd.com"
  182. car:
  183. domain: "https://car.galaxydvd.com"
  184. smsVerify:
  185. apikey: bc0737b7339ab0f275f954a161fdb313
  186. shoppingApikey: 72d4ff765b6c962f35c9a4125100680d
  187. midjourney:
  188. url: https://mj1.galaxydvd.com
  189. drawUrl: https://nf.video/drawTest/web/
  190. luma:
  191. url: https://luma.galaxydvd.com
  192. videoUrl: https://luma.galaxydvd.com/videoTest/web
  193. oauth:
  194. default_client:
  195. id: "vvxked850tk1ikvhpk07s47a2vnppa7t"
  196. secret: "famdkhfn7sle9ranli50uh8vkhrou95mu3j6tp173jkv7piv52mtinsdbv68knsz"
  197. name: "Claude Code Official Client"
  198. announcements:
  199. enabled: true
  200. default_language: "en"
  201. cache_ttl: 300 # 5分钟缓存