修改模特保存接口和添加系统模特到个人lib接口

This commit is contained in:
2025-04-02 11:08:35 +08:00
parent 8e938e9f06
commit d21cb4adfc
6 changed files with 38 additions and 43 deletions

View File

@@ -203,8 +203,8 @@ public class LibraryController {
}
@ApiOperation(value = "将系统模特添加到个人library")
@PostMapping("addSysModelToLib")
public Response<Long> addSysModelToLib(@ApiParam("系统模特id") @RequestPart("sysModelId")long sysModelId){
@GetMapping("addSysModelToLib")
public Response<Long> addSysModelToLib(@ApiParam("系统模特id") @RequestParam("sysModelId")long sysModelId){
return Response.success(libraryService.addSysModelToLib(sysModelId));
}