application.properties 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. server.port=8089
  2. logging.path=/opt/logs
  3. logging.file=unimall.log
  4. logging.level.root=info
  5. #运行环境 1.开发环境 2.测试环境 3.生产环境 一定要记得改环境
  6. com.iotechn.unimall.env=3
  7. ########################################################
  8. ###MySql (MySqlConfiguration)
  9. ########################################################
  10. spring.druid.driverClassName=com.mysql.jdbc.Driver
  11. ##正式库
  12. spring.druid.url=jdbc:mysql://162.62.62.59:3323/unimall_dp?createDatabaseIfNotExist=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&useSSL=false
  13. ###本地库
  14. #spring.druid.url=jdbc:mysql://localhost:3306/unimall?createDatabaseIfNotExist=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
  15. spring.druid.username=root
  16. spring.druid.password=qwe123.
  17. #spring.druid.password=
  18. spring.druid.maxActive=30
  19. spring.druid.minIdle=5
  20. spring.druid.maxWait=10000
  21. spring.druid.validationQuery="SELECT X"
  22. spring.servlet.multipart.max-file-size= 10MB
  23. spring.servlet.multipart.max-request-size=10MB
  24. ########################################################
  25. ###Redis 缓存、session、lock使用不同数据源
  26. ########################################################
  27. spring.redis.database=0
  28. #spring.redis.host=192.168.8.229
  29. spring.redis.host=127.0.0.1
  30. spring.redis.port=6379
  31. #spring.redis.password=1234
  32. spring.user-redis.database=1
  33. #spring.user-redis.host=192.168.8.229
  34. spring.user-redis.host=127.0.0.1
  35. spring.user-redis.port=6379
  36. #spring.user-redis.password=1234
  37. spring.lock-redis.database=2
  38. #spring.lock-redis.host=192.168.8.229
  39. spring.lock-redis.host=127.0.0.1
  40. spring.lock-redis.port=6379
  41. #spring.lock-redis.password=12345
  42. ########################################################
  43. ###Freemarkder 模版引擎 用户生成Api文档
  44. ########################################################
  45. spring.freemarker.request-context-attribute=req
  46. spring.freemarker.suffix=.html
  47. spring.freemarker.content-type=text/html
  48. spring.freemarker.enabled=true
  49. spring.freemarker.cache=false
  50. spring.freemarker.template-loader-path=classpath:/templates/
  51. spring.freemarker.charset=utf-8
  52. spring.freemarker.settings.number_format=0.##
  53. ########################################################
  54. ### 短信SDK配置 enable 支持 aliyun、qcloud、mock(请在控制台查看验证码)
  55. ########################################################
  56. sms.enable=aliyun
  57. ### 腾讯云短信配置 ###
  58. sms.qcloud.sign=iotechn
  59. sms.qcloud.app-id=1400186792
  60. sms.qcloud.app-key=31664f74451303e098ca689433477e53
  61. sms.qcloud.register-template-id=364423
  62. sms.qcloud.bind-phone-template-id=364423
  63. sms.qcloud.reset-password-template-id=364423
  64. sms.qcloud.admin-login-template-id=381839
  65. ### 阿里云短信配置 ###
  66. sms.aliyun.accessId=LTAI4G9c14PgKvM23WZ9zrpc
  67. sms.aliyun.accessKey=FpClTp4OVrRRtHEfi3lBOWUoLxKieW
  68. sms.aliyun.signature=易粮易运
  69. sms.aliyun.register-template-id=SMS_202415307
  70. sms.aliyun.bind-phone-template-id=SMS_202415307
  71. sms.aliyun.reset-password-template-id=SMS_202415307
  72. sms.aliyun.admin-login-template-id=SMS_202415307
  73. ########################################################
  74. ###OSS 文件上传配置
  75. ########################################################
  76. oss.aliyun.oss.accessId=LTAI4G9c14PgKvM23WZ9zrpc
  77. oss.aliyun.oss.accessKey=FpClTp4OVrRRtHEfi3lBOWUoLxKieW
  78. oss.aliyun.oss.endpoint=oss-cn-beijing.aliyuncs.com
  79. oss.aliyun.oss.bucket=taohaoliang
  80. oss.aliyun.oss.callbackUrl=
  81. oss.aliyun.oss.dir=admin/
  82. oss.aliyun.oss.basekUrl=https://taohaoliang.oss-cn-beijing.aliyuncs.com/
  83. ########################################################
  84. ### 微信 小程序、APP、H5信息
  85. ########################################################
  86. com.iotechn.unimall.wx.mini.app-id=wx4505a6ea6f703e17
  87. com.iotechn.unimall.wx.mini.app-secret=610838e6d27468602fbdeb1394520679
  88. com.iotechn.unimall.wx.app.app-id=wx4505a6ea6f703e17
  89. com.iotechn.unimall.wx.app.app-secret=0b8c0ebdf9cc3789eafccc64e2695bc1
  90. com.iotechn.unimall.wx.h5.app-id=wx4505a6ea6f703e17
  91. com.iotechn.unimall.wx.h5.app-secret=0b8c0ebdf9cc3789eafccc64e2695bc1
  92. com.iotechn.unimall.wx.gongzhonghao.app-id=wxce2e964b11803018
  93. com.iotechn.unimall.wx.gongzhonghao.app-secret=122059c777309ff3efc7448ec8794fd5
  94. ########################################################
  95. ### 微信商户信息
  96. ########################################################
  97. com.iotechn.unimall.wx.mch-id=1538757851
  98. #自己设置的32位码
  99. com.iotechn.unimall.wx.mch-key=aIt5Vw3cJCXMZS4L5h14kIyDsoXBzo5I
  100. com.iotechn.unimall.wx.notify-url=http://unimall.free.idcfengye.com/cb/wxpay
  101. com.iotechn.unimall.wx.key-path=/Users/rize/cert/1538757851_20190609_cert/apiclient_cert.p12
  102. ########################################################
  103. ### 快递查询配置
  104. ########################################################
  105. com.iotechn.ship.query.kdn.app-key=1552340
  106. com.iotechn.ship.query.kdn.business-id=db73dd78-990f-4fc8-ae18-83d0dacf7556
  107. ########################################################
  108. ### 管理员推送配置 enable 支持 mock、uninotify
  109. ########################################################
  110. com.iotechn.admin.notify.enable=mock
  111. com.iotechn.admin.notify.uninotify.app-id=gc8233222222L1uw7qSifH
  112. com.iotechn.admin.notify.uninotify.app-secret=LjWGP33333333333333333J6XbI
  113. com.iotechn.admin.notify.uninotify.url=http://public.dobbinsoft.com/m.api
  114. ########################################################
  115. ### 运行环境配置
  116. ########################################################
  117. #机器编号
  118. com.iotechn.unimall.machine-no=01