mirror of
https://gitee.com/dromara/sa-token.git
synced 2026-02-27 16:50:24 +08:00
update sa-token-doc/doc/use/config.md.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# 框架配置
|
# 框架配置
|
||||||
- 你可以**零配置启动框架**
|
你可以**零配置启动框架** <br>
|
||||||
- 但同时你也可以通过配置,定制性使用框架,`sa-token`支持多种方式配置框架信息
|
但同时你也可以通过配置,定制性使用框架,`sa-token`支持多种方式配置框架信息
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -26,8 +26,7 @@ spring:
|
|||||||
token-style: uuid
|
token-style: uuid
|
||||||
```
|
```
|
||||||
|
|
||||||
- 如果你习惯于 `application.properties` 类型的配置文件,那也很好办:
|
如果你习惯于 `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)
|
||||||
- 百度: [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、通过代码配置
|
### 方式2、通过代码配置
|
||||||
|
|||||||
Reference in New Issue
Block a user