多租户商城-后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.1 KiB

2 years ago
2 years ago
2 years ago
9 months ago
  1. security:
  2. #jwt
  3. jwt:
  4. header: Authorization
  5. # 令牌前缀
  6. token-start-with: Bearer
  7. # 必须使用最少88位的Base64对该令牌进行编码
  8. base64-secret: 5oiQ576O5ZWG5Z+O5oiQ576O5ZWG5Z+O5oiQ576O5ZWG5Z+O5oiQ576O5ZWG5Z+O5oiQ576O5ZWG5Z+O5oiQ576O
  9. # 令牌过期时间 此处单位/秒 ,默认24小时,可在此网站生成 https://www.convertworld.com/zh-hans/time/milliseconds.html
  10. token-validity-in-seconds: 86400
  11. # refreshToken 过期时间 此处单位/秒
  12. refresh-token-validity-in-seconds: 259200
  13. # 在线用户key
  14. online-key: online-token-
  15. # 验证码
  16. code-key: code-key-
  17. # token 续期检查时间范围(默认30分钟,单位毫秒),在token即将过期的一段时间内用户操作了,则给用户的token续期
  18. detect: 1800000
  19. # 续期时间范围,默认1小时,单位毫秒
  20. renew: 3600000
  21. #记住我登录 令牌过期时间 单位秒 7天
  22. remember-login-validity: 604800
  23. # 用户登录存放redis key
  24. user-login-key: app_user_token_
  25. #一个账户是否允许多个客户端登录
  26. multi-login: true
  27. #下列为登录拦截器放行请求路径
  28. ignore-paths:
  29. - /app/**
  30. - /shop/**
  31. - /canvas/**
  32. - /product/*
  33. - /classify/*
  34. - /advert/*
  35. - /seckill/getIndex
  36. - /seckill/getProblems
  37. - /seckill/getProblem
  38. - /seckill/getAnswer
  39. - /seckill/getProblemDetail
  40. - /order/pay/rolBack
  41. - /order/pay/v3RolBack
  42. - /order/refund/rolBack
  43. - /order/alipay/rolBack
  44. - /order/alipayRefund/rolBack
  45. - /order/pay
  46. - /extend/**
  47. - /doc.html
  48. - /doc.html#/**
  49. - /webjars/**
  50. - /swagger-resources/**
  51. - /kf/**
  52. - /comment/getProductAll
  53. - /file/upload
  54. - /notice/getById
  55. - /platform-seckill
  56. - /dict/getByName
  57. - /work/getIndex
  58. - /product/getSpecificSku
  59. - /product/getBroadCastList
  60. - /coupon/getChannelActivityCoupon
  61. - /cerePlatformLangInfo/**
  62. - /cereInteractionDiagram/getById
  63. - /cereInteractionDiagram/getAll
  64. - /cereInteractionDiagram/getList