Compare commits

..

No commits in common. "c53a32c1ba19bfdc7dd3d86300581c62a9b7f523" and "b977bec6fdb2633836255809526f916ca723cff3" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ public class IndexServiceImpl implements IndexService {
String result = ykUtil.call(YkInfo.getTaskList, param, JSONArray.class);
log.info("result");
JSONObject jsonObject = JSONArray.parseObject(result, JSONObject.class);
return new GeneralResult(true, jsonObject,"查询成功");
JSONArray dataArray = JSONArray.parseArray(result);
return new GeneralResult(true, dataArray,"查询成功");
} catch (Exception e) {
log.info("查询失败",e);
return new GeneralResult(false, "查询失败");