update sa-token-doc/doc/use/config.md.

This commit is contained in:
RockMan 2021-02-06 15:34:23 +08:00 committed by Gitee
parent 59d3b985ec
commit d4eb41dd6a

View File

@ -1,6 +1,6 @@
# 框架配置
- 你可以**零配置启动框架**
- 但同时你也可以通过配置,定制性使用框架,`sa-token`支持多种方式配置框架信息
你可以**零配置启动框架** <br>
但同时你也可以通过配置,定制性使用框架,`sa-token`支持多种方式配置框架信息
@ -26,8 +26,7 @@ spring:
token-style: uuid
```
- 如果你习惯于 `application.properties` 类型的配置文件,那也很好办:
- 百度: [springboot properties与yml 配置文件的区别](https://www.baidu.com/s?ie=UTF-8&wd=springboot%20properties%E4%B8%8Eyml%20%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E7%9A%84%E5%8C%BA%E5%88%AB)
如果你习惯于 `application.properties` 类型的配置文件,那也很好办: 百度: [springboot properties与yml 配置文件的区别](https://www.baidu.com/s?ie=UTF-8&wd=springboot%20properties%E4%B8%8Eyml%20%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E7%9A%84%E5%8C%BA%E5%88%AB)
### 方式2、通过代码配置