TASK:cloud;

This commit is contained in:
shahaibo
2025-06-06 17:18:59 +08:00
parent 1afd86d3ce
commit b8d3b0192d
2 changed files with 17 additions and 17 deletions

View File

@@ -4288,7 +4288,7 @@ public class PythonService {
map.put("batch_tasks_id", taskIdBatch);
log.info("toProductImage请求python 参数:####{}", map);
String param = JSON.toJSONString(map, SerializerFeature.WriteNullStringAsEmpty);
System.out.println(param);
System.out.println(JSONObject.toJSONString(param));
RequestBody body = RequestBody.create(mediaType, param);
Request request = new Request.Builder()
// .url(accessPythonIp + ":" + accessPythonPort + "/api/generate_product_image")