Compare commits
2 Commits
b977bec6fd
...
c53a32c1ba
Author | SHA1 | Date |
---|---|---|
guyuliang | c53a32c1ba | |
guyuliang | 72f332b379 |
|
@ -34,8 +34,8 @@ public class IndexServiceImpl implements IndexService {
|
||||||
String result = ykUtil.call(YkInfo.getTaskList, param, JSONArray.class);
|
String result = ykUtil.call(YkInfo.getTaskList, param, JSONArray.class);
|
||||||
|
|
||||||
log.info("result");
|
log.info("result");
|
||||||
JSONArray dataArray = JSONArray.parseArray(result);
|
JSONObject jsonObject = JSONArray.parseObject(result, JSONObject.class);
|
||||||
return new GeneralResult(true, dataArray,"查询成功");
|
return new GeneralResult(true, jsonObject,"查询成功");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.info("查询失败",e);
|
log.info("查询失败",e);
|
||||||
return new GeneralResult(false, "查询失败");
|
return new GeneralResult(false, "查询失败");
|
||||||
|
|
Loading…
Reference in New Issue