feat(bookmarks): 集成VFS服务并优化用户注册与删除逻辑
新增VFSService用于与VFS系统交互,实现用户创建和删除功能。 在用户注册时调用VFS创建用户并获取token,在删除用户时同步删除VFS中的用户。 移除了原有使用UUID生成token的逻辑,改为由VFS返回token。 添加RestTemplate Bean配置以支持HTTP请求。 注释掉pom.xml中未使用的vfs-client代码生成插件配置。
This commit is contained in:
		
							
								
								
									
										22
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								pom.xml
									
									
									
									
									
								
							| @ -116,28 +116,6 @@ | ||||
| 							</configOptions> | ||||
| 						</configuration> | ||||
| 					</execution> | ||||
| 					<!-- <execution> | ||||
| 						<id>vfs-client</id> | ||||
| 						<goals> | ||||
| 							<goal>generate</goal> | ||||
| 						</goals> | ||||
| 						<configuration> | ||||
| 							<inputSpec>${project.basedir}/src/main/resources/config/vfs/vfs.yaml</inputSpec> | ||||
| 							<generatorName>java</generatorName> | ||||
| 								<configOptions> | ||||
| 									<library>webclient</library> | ||||
| 									<dateLibrary>java</dateLibrary> | ||||
| 									<useBeanValidation>true</useBeanValidation> | ||||
| 									<withJakartaValidation>true</withJakartaValidation> | ||||
| 									<openApiNullable>false</openApiNullable> | ||||
| 									<groupId>com.zzyxyz.api</groupId> | ||||
| 									<artifactId>vfs-client</artifactId> | ||||
| 									<artifactVersion>1.0.0</artifactVersion> | ||||
| 									<modelPackage>com.zzyxyz.api.vfs.model</modelPackage> | ||||
| 									<apiPackage>com.zzyxyz.api.vfs.api</apiPackage> | ||||
| 								</configOptions> | ||||
| 						</configuration> | ||||
| 					</execution> --> | ||||
| 				</executions> | ||||
| 			</plugin> | ||||
| 		</plugins> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user