Skip to content

Commit

Permalink
fix debug
Browse files Browse the repository at this point in the history
Signed-off-by: wmqwxb <[email protected]>
  • Loading branch information
wmqwxb committed Dec 20, 2023
1 parent 48b3595 commit ddbdbae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ public ResponseResult getData(@Valid @RequestBody ComponentQueryDTO componentQue
return new ResponseResult<>(ErrorCode.FATEFLOW_ERROR_NULL_RESULT);
}
JSONObject object = JSON.parseObject(result);
if (object.isEmpty()) {
return new ResponseResult(ErrorCode.SUCCESS, object);
}
Set<String> set = object.keySet();
String[] keys = set.toArray(new String[0]);
JSONArray outputDataArray = new JSONArray();
Expand Down

0 comments on commit ddbdbae

Please sign in to comment.