.yml 后缀的文件可以有多个
 
ruoyi : name :  RuoYiversion :  3.8.5copyrightYear :  2023 demoEnabled :  true profile :  D: /ruoyi/uploadPathaddressEnabled :  false captchaType :  math
server : port :  9101 servlet : context-path :  /tomcat : uri-encoding :  UTF- 8 accept-count :  1000 threads : max :  800 min-spare :  100 
logging : level : com.ruoyi :  debugorg.springframework :  warn
user : password : maxRetryCount :  5 lockTime :  10 
spring : messages : basename :  i18n/messagesprofiles : active :  druidservlet : multipart : max-file-size :   10MBmax-request-size :   20MBdevtools : restart : enabled :  true redis : host :  localhostport :  6379 database :  0 password : timeout :  10slettuce : pool : min-idle :  0 max-idle :  8 max-active :  8 max-wait :  - 1ms
token : header :  Authorizationsecret :  abcdefghijklmnopqrstuvwxyzexpireTime :  30 
mybatis : typeAliasesPackage :  com.ruoyi.**.domain mapperLocations :  classpath*:mapper/**/*Mapper.xml configLocation :  classpath: mybatis/mybatis- config.xml
pagehelper : helperDialect :  mysqlsupportMethodsArguments :  true params :  count=countSql
swagger : enabled :  true pathMapping :  /dev- api
xss : enabled :  true excludes :  /system/noticeurlPatterns :  /system/*, /monitor/*, /tool/*
spring : datasource : type :  com.alibaba.druid.pool.DruidDataSourcedriverClassName :  com.mysql.cj.jdbc.Driverdruid : master : url :  jdbc: mysql: //localhost: 3306/ry- vue? useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username :  rootpassword :  123456 slave : enabled :  false url : username : password : initialSize :  5 minIdle :  10 maxActive :  20 maxWait :  60000 connectTimeout :  30000 socketTimeout :  60000 timeBetweenEvictionRunsMillis :  60000 minEvictableIdleTimeMillis :  300000 maxEvictableIdleTimeMillis :  900000 validationQuery :  SELECT 1 FROM DUALtestWhileIdle :  true testOnBorrow :  false testOnReturn :  false webStatFilter : enabled :  true statViewServlet : enabled :  true allow : url-pattern :  /druid/*login-username :  ruoyilogin-password :  123456 filter : stat : enabled :  true log-slow-sql :  true slow-sql-millis :  1000 merge-sql :  true wall : config : multi-statement-allow :  true token : header :  Authorization
    下图可以看到请求了携带了名称为 Authorization 的key/key对应java中配置的header属性,value中的 Bearer 也是来自java配置后面的一串则是来自登录接口返回值的数据需要经过权限认证的接口地址都需要携带该参数