TASK:模块化;

This commit is contained in:
shahaibo
2025-03-27 14:32:56 +08:00
parent 78a5bebb4f
commit a8f868e215
5 changed files with 85 additions and 0 deletions

View File

@@ -282,4 +282,10 @@ public class SavedCollectionController {
public Response<String> brandDNAUpload(@RequestParam("file") MultipartFile file, @RequestParam("brandId") Long brandId) throws IOException {
return Response.success(userLikeGroupService.brandDNAUpload(file, brandId));
}
@ApiOperation(value = "brandDNAGenerate")
@PostMapping("/brandDNAGenerate")
public Response<BrandDNAGenerateVO> brandDNAGenerate(@RequestParam("prompt") String prompt) {
return Response.success(userLikeGroupService.brandDNAGenerate(prompt));
}
}