config.yaml 749 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # 启动端口号
  2. server:
  3. port: 8000
  4. # websocket url
  5. websocket:
  6. ws-url: ws://localhost:8000/ws?uid=server&to_uid=client
  7. # MySQL数据源配置
  8. mysql:
  9. username: root
  10. password: 123456
  11. url: tcp(localhost:3306)/ait?charset=utf8&parseTime=True&loc=Local
  12. # url: tcp(localhost:3306)/imall?charset=utf8&parseTime=True&loc=Local
  13. # 图片路径配置
  14. upload:
  15. savePath: ./files/
  16. accessUrl: http://localhost:8000/file/
  17. # JWT配置
  18. jwt:
  19. signingKey: z3d6k8v0n3w7m9sa1fd0u09h
  20. # 定时任务
  21. cron:
  22. enable: true
  23. # 微信小程序配置
  24. code2Session:
  25. appId: wx3cb7b0s2793390f63
  26. appSecret: 86d8z38cac01ff375b2676d35f65e021
  27. # 问题反馈配置
  28. feedback:
  29. qqSmtp: smtp.qq.com
  30. qqEmail: 1933757688@qq.com
  31. qqEmailSecret: jjstmwtidhwhxhzc