settings.yml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. settings:
  2. application:
  3. # dev开发环境 test测试环境 prod线上环境
  4. mode: prod
  5. # 服务器ip,默认使用 0.0.0.0
  6. host: 0.0.0.0
  7. # 服务名称
  8. name: cold-delivery
  9. # 端口号
  10. port: 6280 # 服务端口号
  11. readtimeout: 1
  12. writertimeout: 2
  13. # 数据权限功能开关
  14. enabledp: true
  15. logger:
  16. # 日志存放路径
  17. path: temp/logs
  18. # 日志输出,file:文件,default:命令行,其他:命令行
  19. stdout: 'default' #控制台日志,启用后,不输出到文件
  20. # 日志等级, trace, debug, info, warn, error, fatal
  21. level: trace
  22. # 数据库日志开关
  23. enableddb: true
  24. jwt:
  25. # token 密钥,生产环境时及的修改
  26. secret: JA6WD#*SwAR7
  27. # token 过期时间 单位:秒
  28. timeout: 3600
  29. database:
  30. # 数据库类型 mysql
  31. driver: mysql
  32. # 数据库连接字符串 mysql 缺省信息 charset=utf8&parseTime=True&loc=Local&timeout=1000ms
  33. source: cold:yjwyEckZS7rE5H!@tcp(127.0.0.1:40306)/cold_delivery?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
  34. # host: localhost:8080
  35. # host: 192.168.31.163:8080
  36. cache:
  37. redis:
  38. addr: 127.0.0.1:43379
  39. password:
  40. db: 11
  41. # key存在即可
  42. memory: ''
  43. extend:
  44. subMail:
  45. appid: "97173"
  46. signature: "f639a60e41ee0554921d89884f5ff87e"
  47. qiniu:
  48. endpoint: "https://coldoss.coldbaozhida.com/"
  49. accessKeyID: "-8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo"
  50. accessKeySecret: "KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN"
  51. bucketName: "coldoss"
  52. applet:
  53. appid: "wx7d2f59a537c6ffdd"
  54. appSecret: "b6ae826c8c64dd246e8bd8c281c33bde"
  55. tokenExpire: 30
  56. waybillUrl: "https://coldlogistics.coldbaozhida.com/newInquiry?waybillNo="
  57. nats:
  58. url: "127.0.0.1:43422"
  59. amap:
  60. key: "c3dbf424f12240b2de8ace32893c1aa2"
  61. apk:
  62. path: "/Users/zoie/work/bzd_project/cold-delivery/ofile"
  63. weian:
  64. orderInfoUrl: "http://127.0.0.1:4523/m2/4530431-0-default/215455750"
  65. openapi:
  66. apiKey: "01HsBYiG"
  67. secret: "A8CDJ1GQW4XNB3SZY7PKT92R6LQV8FW5"