| 123456789101112131415161718192021 |
- server:
- port: 8300 # 端口
- hm:
- jwt:
- location: classpath:hmall.jks # 秘钥地址
- alias: hmall # 秘钥别名
- password: hmall123 # 秘钥文件密码
- tokenTTL: 30m # 登录有效期
- auth:
- excludePaths: # 无需登录校验的路径
- - /search/**
- - /users/login
- - /items/**
- spring:
- graphql:
- cors:
- allowed-origins: "*"
- allowed-methods: "GET,POST,PUT,DELETE,OPTIONS"
- allowed-headers: "*"
- allow-credentials: true
- max-age: 3600
|