application.properties 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. server.port=8181
  2. server.servlet.multipart.max-file-size=100MB
  3. server.servlet.multipart.maxRequestSize=100MB
  4. logging.path=/Users/dyl/Desktop/jialebao/logs
  5. logging.file=unimall.log
  6. logging.level.root=debug
  7. ########################################################
  8. ###MySql (MySqlConfiguration)
  9. ########################################################
  10. spring.druid.driverClassName=com.mysql.jdbc.Driver
  11. spring.druid.url=jdbc:mysql://47.97.168.241/kouzhao?createDatabaseIfNotExist=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&useSSL=false
  12. spring.druid.username=root
  13. spring.druid.password=007e30ac7c591406
  14. spring.druid.maxActive=30
  15. spring.druid.minIdle=5
  16. spring.druid.maxWait=10000
  17. spring.druid.validationQuery="SELECT X"
  18. mybatis-plus.type-aliases-package=com.iotechn.unimall.data.domain
  19. ########################################################
  20. ###Redis \u7F13\u5B58\u3001session\u3001lock\u4F7F\u7528\u4E0D\u540C\u6570\u636E\u6E90
  21. ########################################################
  22. spring.redis.database=4
  23. spring.redis.host=127.0.0.1
  24. spring.redis.port=6379
  25. #spring.redis.password=123456
  26. spring.user-redis.database=5
  27. spring.user-redis.host=127.0.0.1
  28. spring.user-redis.port=6379
  29. #spring.user-redis.password=123456
  30. spring.lock-redis.database=6
  31. spring.lock-redis.host=127.0.0.1
  32. spring.lock-redis.port=6379
  33. #spring.lock-redis.password=123456
  34. #服务名
  35. spring.application.name=service_oss
  36. #环境设置:dev test prod
  37. spring.profiles.active=dev
  38. ########################################################
  39. ###Freemarkder \u6A21\u7248\u5F15\u64CE \u7528\u6237\u751F\u6210Api\u6587\u6863
  40. ########################################################
  41. spring.freemarker.request-context-attribute=req
  42. spring.freemarker.suffix=.html
  43. spring.freemarker.content-type=text/html
  44. spring.freemarker.enabled=true
  45. spring.freemarker.cache=false
  46. spring.freemarker.template-loader-path=classpath:/templates/
  47. spring.freemarker.charset=utf-8
  48. spring.freemarker.settings.number_format=0.##
  49. ########################################################
  50. ### 短信SDK配置 enable 支持 aliyun、qcloud、mock(请在控制台查看验证码)
  51. ########################################################
  52. sms.enable=aliyun
  53. ### 腾讯云短信配置 ###
  54. sms.qcloud.app-id=1400186792
  55. sms.qcloud.app-key=31664f74451303e098ca689433477e53
  56. sms.qcloud.register-template-id=364423
  57. sms.qcloud.bind-phone-template-id=364423
  58. sms.qcloud.reset-password-template-id=364423
  59. sms.qcloud.admin-login-template-id=381839
  60. ### 阿里云短信配置 ###
  61. sms.aliyun.accessId=LTAIawEsRQ5noKqG
  62. sms.aliyun.accessKey=mSvqeIm1qyEwaI0AWu2TXTXgYMcqxg
  63. sms.aliyun.signature=iotechn
  64. sms.aliyun.register-template-id=364423
  65. sms.aliyun.bind-phone-template-id=364423
  66. sms.aliyun.reset-password-template-id=364423
  67. sms.aliyun.admin-login-template-id=381839
  68. api01.aliyun.appcode=07a738b1651e43a7acc1433d265ac20b
  69. ########################################################
  70. ###OSS 文件上传配置
  71. ########################################################
  72. oss.aliyun.oss.accessId=LTAI5tCpbjqUvxF6yv398TvT
  73. oss.aliyun.oss.accessKey=jM1gUo6w3p1SqGtHgWURXj6sTcaiCT
  74. oss.aliyun.oss.endpoint=oss-cn-hangzhou.aliyuncs.com
  75. oss.aliyun.oss.bucket=kouzhaobucket
  76. oss.aliyun.oss.callbackUrl=
  77. oss.aliyun.oss.dir=imgs/
  78. oss.aliyun.oss.basekUrl=https://kouzhaobucket.oss-cn-beijing.aliyuncs.com/
  79. ########################################################
  80. ### 微信 小程序、APP、H5信息
  81. ########################################################
  82. com.iotechn.unimall.wx.mini.app-id=wx48ffe2c70b4a7fdb
  83. com.iotechn.unimall.wx.mini.app-secret=c63e0cb8b3de739bcdfc1eafc35325ef
  84. com.iotechn.unimall.wx.app.app-id=wx6e1355f89b03fd2e
  85. com.iotechn.unimall.wx.app.app-secret=013972cce59f480f6ac0890422f1aefd
  86. com.iotechn.unimall.wx.h5.app-id=wxc9d6f423651c0f24
  87. com.iotechn.unimall.wx.h5.app-secret=d8xxxxxxxddddddddsdfasfasfasfd7
  88. ########################################################
  89. ### 微信商户信息
  90. ########################################################
  91. com.iotechn.unimall.wx.mch-id=1538757851
  92. #自己设置的32位码
  93. com.iotechn.unimall.wx.mch-key=aIt5Vw3cJCXMZS4L5h14kIyDsoXBzo5I
  94. com.iotechn.unimall.wx.notify-url=http://unimall.free.idcfengye.com/cb/wxpay
  95. com.iotechn.unimall.wx.key-path=/Users/rize/cert/1538757851_20190609_cert/apiclient_cert.p12
  96. ########################################################
  97. ### 快递查询配置
  98. ########################################################
  99. com.iotechn.ship.query.kdn.app-key=1552340
  100. com.iotechn.ship.query.kdn.business-id=db73dd78-990f-4fc8-ae18-83d0dacf7556
  101. ########################################################
  102. ### 运行环境配置
  103. ########################################################
  104. #机器编号
  105. com.iotechn.unimall.machine-no=01
  106. #运行环境 1.开发环境 2.测试环境 3.生产环境 一定要记得改环境
  107. com.iotechn.unimall.env=3
  108. #自定义配置信息
  109. # 名称
  110. jlb.name=JLB
  111. # 版本
  112. jlb.version=2.0.0
  113. # 版权年份
  114. jlb.copyrightYear=2019
  115. # 实例演示开关
  116. jlb.demoEnabled=true
  117. # 文件路径
  118. jlb.profile= /Users/dyl/Desktop/jialebao
  119. # 获取ip地址开关
  120. jlb.addressEnabled=true
  121. #代码生成配置
  122. # 作者
  123. gen.author: jlb
  124. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  125. gen.packageName: com.iotechn.unimall
  126. # 自动去除表前缀,默认是true
  127. gen.autoRemovePre: false
  128. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  129. gen.tablePrefix: sun_