|
|
@@ -290,7 +290,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("重构计算启动失败, code: {}, msg: {}", code, msg);
|
|
|
return ApiResponse.fail("重构计算启动失败: " + msg);
|