application.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. server:
  2. port: 9999
  3. spring:
  4. application:
  5. name: erp-server
  6. profiles:
  7. active: local
  8. jackson:
  9. property-naming-strategy: SNAKE_CASE
  10. servlet:
  11. multipart:
  12. enabled: true
  13. max-file-size: 20MB
  14. max-request-size: 20MB
  15. #分库分表配置
  16. shardingsphere:
  17. props:
  18. sql:
  19. show: true
  20. sharding:
  21. default-data-source-name: ds0
  22. # 开发环境日志为debug
  23. logging:
  24. file: logs/erp-server.out
  25. # config: classpath:log4j2-spring.xml #日志文件自定义名
  26. level:
  27. org.springframework: ERROR
  28. springfox.documentation: ERROR
  29. org.elasticsearch: ERROR
  30. com.xxl: ERROR
  31. com.hys.app: DEBUG
  32. seata:
  33. enabled: false
  34. #java 系统配置
  35. erp:
  36. #token加密秘钥,请务必更换此词串,且注意保密
  37. token-secret: 85d6ce9da4e943ff4dcd367ab3d94164
  38. timeout:
  39. accessTokenTimeout: 12000000 #访问token失效时间 单位秒
  40. refreshTokenTimeout: 18000000 #刷新token失效时间 单位秒
  41. captchaTimout: 120 #验证码失效时间 单位秒
  42. smscodeTimout: 120 #短信验证码失效时间 单位秒
  43. shop-tnt:
  44. http-address: https://q26970737o.yicp.fun
  45. sign-secret: AT5W8XCsvGnxMY1RVguB
  46. wx:
  47. #商户APIV3密钥
  48. merchantId: 1639044836
  49. #商户APIV3密钥
  50. privateKeyPath: D:\Users\admin\Downloads\WXCertUtil\cert\apiclient_key.pem
  51. #商户APIV3密钥
  52. merchantSerialNumber: 492C5167AAB33F606EB2397CBB0D2B8B62F90B05
  53. #商户APIV3密钥
  54. apiV3Key: jfijti4ngjrgier90t304rjrfierurti
  55. #APPID
  56. appid: wx51e98f2dee35237d
  57. notifyUrl: www.baidu.com
  58. merchantPayInfo:
  59. bankNo: 31010260201000041831
  60. bank: 浙江泰隆商业银行股份有限公司上海莘庄支行
  61. dutyParagraph: 91310117MA7JB1TQ71
  62. invoice: 崴叁(上海)文化传媒有限公司