| | |
| | | enabled: true |
| | | main: |
| | | allow-circular-references: true |
| | | # web-application-type: reactive |
| | | web-application-type: reactive |
| | | # MyBatis配置 |
| | | mybatis-plus: |
| | | mapper-locations: classpath*:/mappers/**/*.xml |
| | |
| | | basic: |
| | | enable: true |
| | | username: admin |
| | | password: 111111 |
| | | password: 123456 |
| | | main: |
| | | allow-circular-references: true |
| | | |
| | | auth: |
| | | jwt: |
| | | enabled: true #是否开启JWT登录认证功能 |
| | | secret: fjkfaf;afa # JWT私钥,用于校验JWT令牌的合法性 |
| | | expiration: 3600000 #JWT令牌的有效期,用于校验JWT令牌的合法性 |
| | | header: JWTHeaderName #HTTP请求的Header名称,该Header作为参数传递JWT令牌 |
| | | userParamName: username #用户登录认证用户名参数名称 |
| | | pwdParamName: password #用户登录认证密码参数名称 |
| | | useDefaultController: true # 是否使用默认的JwtAuthController |
| | | |
| | | # WEB服务器配置 |
| | | server: |