application-dev.properties 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. ########################################################
  2. ### Spring Cloud 基本配置;
  3. ########################################################
  4. spring.application.name=efunbox-manage-base
  5. ########################################################
  6. ### MYSQL基本配置;
  7. ########################################################
  8. #dev
  9. #spring.datasource.url=jdbc:mysql://192.168.1.87:3306/live?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
  10. #spring.datasource.username=root
  11. #spring.datasource.password=admin123
  12. spring.datasource.url=jdbc:mysql://192.168.1.96:3306/efunbox_manage?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
  13. spring.datasource.username=root
  14. spring.datasource.password=Efunbox^^2015$
  15. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  16. spring.jpa.properties.hibernate.hbm2ddl.auto=update
  17. spring.jpa.properties.hibernate.format_sql=true
  18. spring.jpa.show-sql=true
  19. ########################################################
  20. ### REDIS (RedisProperties) redis基本配置;
  21. ########################################################
  22. # 远程 Redis数据库索引(默认为0)
  23. spring.redis.database=0
  24. # Redis服务器地址
  25. spring.redis.host=192.168.1.86
  26. # Redis服务器连接端口
  27. spring.redis.port=6379
  28. # Redis服务器连接密码(默认为空)
  29. spring.redis.password=otttest
  30. # 连接池最大连接数(使用负值表示没有限制)
  31. spring.redis.pool.max-active=8
  32. # 连接池最大阻塞等待时间(使用负值表示没有限制)
  33. spring.redis.pool.max-wait=-1
  34. # 连接池中的最大空闲连接
  35. spring.redis.pool.max-idle=8
  36. # 连接池中的最小空闲连接
  37. spring.redis.pool.min-idle=0
  38. # 连接超时时间(毫秒)
  39. spring.redis.timeout=0
  40. efunbox.oss.img.url=https://efunbox.lingjiao.cn
  41. efunbox.wx.appcode=https://open.weixin.qq.com/connect/oauth2/authorize?appid={APPID}&redirect_uri={REDIRECT_URI}&response_type=code&scope=snsapi_userinfo&state={STATE}#wechat_redirect
  42. efunbox.wx.accesstoken=https://api.weixin.qq.com/sns/oauth2/access_token?appid={APPID}&secret={SECRET}&code={CODE}&grant_type=authorization_code
  43. efunbox.wx.unionId=https://api.weixin.qq.com/sns/userinfo?access_token={ACCESS_TOKEN}&openid={OPENID}&lang=zh_CN
  44. # 执行异步任务的 线程池大小
  45. schedule.threadPoolAsyncTaskExecutor.thread.size= 16
  46. ##基础服务
  47. iaas.order.content.url=http://zuul.ai160.com/ocenter/v1/orders/content/count?dist={dist}&beginTime={beginTime}&endTime={endTime}
  48. iaas.create.counts.url=http://zuul.ai160.com/scenter/v1/counts/{contentId}
  49. iaas.find.counts.url=http://zuul.ai160.com/scenter/v1/counts/?ids={ids}
  50. iaas.create.auth.url=http://zuul.ai160.com/acenter/v1/auth
  51. iaas.operation.user.integral.url=http://efunzuul.lingjiao.cn/ucenter/v1/integral
  52. iaas.find.user.integral.url=http://efunzuul.lingjiao.cn/ucenter/v1/integral?uid={uid}
  53. iaas.find.users.integral.url=http://efunzuul.lingjiao.cn/ucenter/v1/integral/users?ids={ids}
  54. iaas.find.user.integral.record.url=http://efunzuul.lingjiao.cn/ucenter/v1/integral/record
  55. #注册登录接口地址
  56. efunbox.oss.resource.login=http://zuul.ai160.com/ucenter/v1/users/token
  57. efunbox.oss.resource.register=http://zuul.ai160.com/ucenter/v1/users
  58. efunbox.oss.resource.token=http://zuul.ai160.com/ucenter/v1/users/token?token
  59. efunbox.oss.user.info=http://zuul.ai160.com/ucenter/v1/users/{uid}?token={token}
  60. #wx.efunbox.appid=wxdfa8a4f1623d28db
  61. #wx.efunbox.secret=c38c095e2632581cccfe33d64c712be9
  62. wx.efunbox.appid=wx8961a3e5512f307c
  63. wx.efunbox.secret=a2b49659f9ac921eaa03d0bdc031e44c
  64. wx.efunbox.url=https://api.weixin.qq.com/sns/jscode2session?appid={APPID}&secret={SECRET}&js_code={JSCODE}&grant_type=authorization_code
  65. wx.efunbox.accessToken=https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={APPID}&secret={APPSECRET}
  66. wx.efunbox.qrCode=https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token={ACCESS_TOKEN}
  67. wx.efunbox.sendMsg=https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token={ACCESS_TOKEN}
  68. #wx.efunbox.sendMsg=https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token={ACCESS_TOKEN}
  69. #wx.efunbox.sendMsg=https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token={ACCESS_TOKEN}
  70. #oss
  71. ali.oss.endpoint=oss-cn-beijing.aliyuncs.com
  72. ali.oss.accessKeyId=LTAIA4of7gbC4JIB
  73. ali.oss.accessKeySecret=A7oqOTWFlJwjGHGoQo4mkFQ5TxCPiR
  74. aliyun.oss.file.prefix=reader/resource/
  75. aliyun.oss.file.qrcode.prefix=reader/resource/qrcode/
  76. statistics.oss.prefix=reader/statistics/test/
  77. statistics.oss.report=reader/statistics/test/report/
  78. wx.pay.notify.url=https://readertest.lingjiao.cn/readerBase/wx/wxPay/notify
  79. default.like.user.uid=c7f0a8fdd3a549ea9109a7b7486775f2