|
|
@@ -343,7 +343,7 @@ public class SimulationServiceImpl implements ISimulationService {
|
|
|
JsonNode root = OM.readTree(responseStr);
|
|
|
int code = root.get("code").asInt();
|
|
|
boolean success = root.get("success").asBoolean();
|
|
|
- if (code != 0 || !success) {
|
|
|
+ if (code != 200 || !success) {
|
|
|
String msg = root.has("msg") ? root.get("msg").asText() : "";
|
|
|
log.error("重构结果查询失败, taskId: {}, code: {}, msg: {}", taskId, code, msg);
|
|
|
return ApiResponse.fail("重构结果查询失败: " + msg);
|