mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 21:00:53 +08:00 
			
		
		
		
	fix: 修复 Spring Cache 配置错误
1.Swagger 分组接口缺失 2.Spring Cache 配置错误
This commit is contained in:
		| @@ -71,13 +71,14 @@ spring.data: | ||||
|     # 是否开启 SSL | ||||
|     ssl: | ||||
|       enabled: false | ||||
|   ## Spring Cache 配置 | ||||
|   cache: | ||||
|     redis: | ||||
|       # 缓存过期时长(单位:毫秒,默认 -1,表示永不过期) | ||||
|       time-to-live: 7200000 | ||||
|       # 是否允许缓存空值(默认 true,表示允许,可以解决缓存穿透问题) | ||||
|       cache-null-values: true | ||||
|  | ||||
| --- ### Spring Cache 配置 | ||||
| spring.cache: | ||||
|   redis: | ||||
|     # 缓存过期时长(单位:毫秒,默认 -1,表示永不过期) | ||||
|     time-to-live: 7200000 | ||||
|     # 是否允许缓存空值(默认 true,表示允许,可以解决缓存穿透问题) | ||||
|     cache-null-values: true | ||||
|  | ||||
| --- ### Just Auth 配置 | ||||
| justauth: | ||||
|   | ||||
| @@ -73,13 +73,14 @@ spring.data: | ||||
|     # 是否开启 SSL | ||||
|     ssl: | ||||
|       enabled: false | ||||
|   ## Spring Cache 配置 | ||||
|   cache: | ||||
|     redis: | ||||
|       # 缓存过期时长(单位:毫秒,默认 -1,表示永不过期) | ||||
|       time-to-live: 7200000 | ||||
|       # 是否允许缓存空值(默认 true,表示允许,可以解决缓存穿透问题) | ||||
|       cache-null-values: true | ||||
|  | ||||
| --- ### Spring Cache 配置 | ||||
| spring.cache: | ||||
|   redis: | ||||
|     # 缓存过期时长(单位:毫秒,默认 -1,表示永不过期) | ||||
|     time-to-live: 7200000 | ||||
|     # 是否允许缓存空值(默认 true,表示允许,可以解决缓存穿透问题) | ||||
|     cache-null-values: true | ||||
|  | ||||
| --- ### Just Auth 配置 | ||||
| justauth: | ||||
|   | ||||
| @@ -58,7 +58,9 @@ springdoc: | ||||
|       packages-to-scan: ${project.basePackage}.webapi.controller | ||||
|     - group: 'auth' | ||||
|       display-name: '系统认证' | ||||
|       paths-to-match: '/auth/**' | ||||
|       paths-to-match: | ||||
|         - '/auth/**' | ||||
|         - '/oauth/**' | ||||
|       packages-to-scan: ${project.basePackage}.webapi.controller.auth | ||||
|     - group: 'common' | ||||
|       display-name: '通用接口' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user