application-dev.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. server:
  2. #端口号
  3. port: 8080
  4. tomcat:
  5. basedir: F:/kaifa/temp #文件上传临时路径
  6. #文件上传方式 1-本机 2-oss
  7. file:
  8. uploadType: 2
  9. path: /root/erp/apk #文件上传根目录
  10. spring:
  11. #数据库连接
  12. datasource:
  13. url: jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
  14. driverClassName: com.mysql.cj.jdbc.Driver
  15. username: root
  16. password: 123456
  17. # Redis
  18. redis:
  19. host: 127.0.0.1
  20. port: 6379
  21. password: foobared
  22. aliyun:
  23. accessKeyId: LTAI5tAWjmJQaDBF6u7JAgap
  24. secretAccessKey: t9ffHVVngMbMZcVPXtgxF6NU9lHc95
  25. oss:
  26. endPoint: oss-cn-hangzhou.aliyuncs.com
  27. bucketName: xiangli-erp
  28. miniProgramAppId: wxd716cb744e32271a
  29. linkUrl: https://xiangli-erp.oss-cn-hangzhou.aliyuncs.com
  30. tesco:
  31. openSycn: false
  32. sycnErpMaterialStockUrl: http://localhost:8088/no-auth/erp/sync-stock
  33. sycnErpMaterialPriceUrl: http://localhost:8088/no-auth/erp/sync-saleprice
  34. mybatis-plus:
  35. global-config:
  36. db-config:
  37. id-type: auto
  38. configuration:
  39. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  40. # log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
  41. default-executor-type: simple