application.yml 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. server:
  2. port: 9087
  3. servlet:
  4. context-path: /api
  5. spring:
  6. datasource:
  7. url: jdbc:mysql://110.40.183.156:3306/civilizedcity?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
  8. username: civilizedcity
  9. password: civilizedcity@ABCD1234
  10. mvc:
  11. pathmatch:
  12. matching-strategy: ANT_PATH_MATCHER
  13. servlet:
  14. multipart:
  15. max-file-size: 1024MB
  16. max-request-size: 1024MB
  17. profiles:
  18. active: @profileActive@
  19. ###
  20. yz:
  21. upload:
  22. path: E:\work\public-upload
  23. prefix: http://127.0.0.1:8000
  24. filter:
  25. annList:
  26. - "/swagger-ui/**"
  27. - "/swagger-resources/**"
  28. - "/v2/**"
  29. - "/static/**"
  30. - "/**/login"
  31. - "/**/signin"
  32. - "/ma/captcha"
  33. - "/ma/change-password"
  34. wx:
  35. miniapp:
  36. appid: wxe44244d1a5ea3364
  37. secret: b7dbbb7b51d40aa716115e76721ed3ff
  38. token:
  39. aesKey:
  40. ###
  41. aliyun:
  42. accessKeyId: LTAI5tGjnZY6k799BHxhmqcm
  43. accessKeySecret: eU1DmULbgHe2dnIg3P93634PO2vEh5
  44. oss:
  45. roleSessionName: shigongli
  46. accessKeyId: LTAI4G9zCefU1m7sKmmBnzTc
  47. accessKeySecret: Vaax5O7wTL0KZdSgd8L9cGBf8AgUqJ
  48. arn: acs:ram::1636896505560465:role/ramosssts
  49. region: oss-cn-shanghai
  50. endpoint: oss-accelerate.aliyuncs.com
  51. bucketName: yz-shigongli
  52. bucketURL: https://yz-shigongli.oss-accelerate.aliyuncs.com
  53. sa-token:
  54. # jwt秘钥
  55. jwt-secret-key: d4d778d279cf11ed9b1d525400e8554f
  56. # token名称 (同时也是cookie名称)
  57. token-name: Authorization
  58. # token有效期,单位s 默认30天, -1代表永不过期
  59. timeout: 2592000
  60. # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
  61. activity-timeout: -1
  62. # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
  63. is-concurrent: true
  64. # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
  65. is-share: true
  66. # token风格
  67. token-style: uuid
  68. # 是否输出操作日志
  69. is-log: false
  70. # 是否尝试从 cookie 里读取 Token
  71. is-read-cookie: false
  72. ###
  73. mybatis-plus:
  74. configuration:
  75. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  76. call-setters-on-nulls: true
  77. mapper-locations: classpath:mapper/**/*.xml
  78. ### swagger
  79. springfox:
  80. documentation:
  81. auto-startup: true