mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-09 20:57:23 +08:00
docs: 修复部分文档错误
This commit is contained in:
21
README.md
21
README.md
@@ -115,16 +115,17 @@ e.g. 跨域配置
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
--- ### 跨域配置
|
--- ### 跨域配置
|
||||||
cors:
|
continew-starter:
|
||||||
enabled: true
|
cors:
|
||||||
# 配置允许跨域的域名
|
enabled: true
|
||||||
allowed-origins: '*'
|
# 配置允许跨域的域名
|
||||||
# 配置允许跨域的请求方式
|
allowed-origins: '*'
|
||||||
allowed-methods: '*'
|
# 配置允许跨域的请求方式
|
||||||
# 配置允许跨域的请求头
|
allowed-methods: '*'
|
||||||
allowed-headers: '*'
|
# 配置允许跨域的请求头
|
||||||
# 配置允许跨域的响应头
|
allowed-headers: '*'
|
||||||
exposed-headers: '*'
|
# 配置允许跨域的响应头
|
||||||
|
exposed-headers: '*'
|
||||||
```
|
```
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
<description>ContiNew Starter 缓存模块 - Redisson</description>
|
<description>ContiNew Starter 缓存模块 - Redisson</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- Redisson(不仅仅是一个 Redis Java 客户端) -->
|
<!-- Redisson(不仅仅是一个 Redis Java 客户端,Redisson 充分的利用了 Redis 键值数据库提供的一系列优势,为使用者提供了一系列具有分布式特性的常用工具:分布式锁、限流器等) -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.redisson</groupId>
|
<groupId>org.redisson</groupId>
|
||||||
<artifactId>redisson-spring-boot-starter</artifactId>
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
||||||
|
Reference in New Issue
Block a user