Files
CyyNote/cyynote-backend/target/classes/app.yml
T
2026-04-29 14:58:02 +08:00

23 lines
945 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
server.port: 8080
solon.app:
name: demoapp
group: demo
# 基于 header 传(适合接口开发,每次会自动输出[可改为手动])
solon.env: dev
solon.output.meta: 1
server.session:
timeout: 7200 #单位秒;(可不配,默认:7200
state:
jwt:
name: TOKEN #变量名;(可不配,默认:TOKEN
secret: "E3F9N2kRDQf55pnJPnFoo5+ylKmZQ7AXmWeOVPKbEd8=" #密钥(使用 JwtUtils.createKey() 生成);(可不配,默认:xxx)
prefix: Bearer #令牌前缀(可不配,默认:空)
allowExpire: true #充许超时;(可不配,默认:true);false,则token一直有效
allowAutoIssue: true #充许自动输出;(可不配,默认:true);flase,则不向header 或 cookie 设置值(由用户手动控制)
allowUseHeader: true #充许使用Header传递;(可不配,默认:使用 Cookie 传递);true,则使用 header 传递