TASK:cloud;

This commit is contained in:
shahaibo
2025-06-09 11:30:23 +08:00
parent 4c67fce8d1
commit c420300c11

View File

@@ -381,7 +381,7 @@ public class GenerateConsumer {
JSONObject result = generateResult.getJSONObject("result"); JSONObject result = generateResult.getJSONObject("result");
String url = null; String url = null;
if (!StringUtils.isEmpty(result)) { if (!StringUtils.isEmpty(result)) {
url = result.getString("image_url"); url = result.getString("product_img");
String taskId = generateResult.getString("task_id"); String taskId = generateResult.getString("task_id");
userLikeGroupService.toProductBatch(taskId, url, progress); userLikeGroupService.toProductBatch(taskId, url, progress);
} }
@@ -432,7 +432,7 @@ public class GenerateConsumer {
JSONObject result = generateResult.getJSONObject("result"); JSONObject result = generateResult.getJSONObject("result");
String url = null; String url = null;
if (!StringUtils.isEmpty(result)) { if (!StringUtils.isEmpty(result)) {
url = result.getString("image_url"); url = result.getString("product_img");
String taskId = generateResult.getString("task_id"); String taskId = generateResult.getString("task_id");
userLikeGroupService.relightBatch(taskId, url, progress); userLikeGroupService.relightBatch(taskId, url, progress);
} }