diff --git a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java index 84ac5a8..149f0eb 100644 --- a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java +++ b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java @@ -185,7 +185,7 @@ public class IndexServiceImpl implements IndexService { log.info("result:" + result); return new GeneralResult(false, "查询失败"); } - JSONObject data = jsonObject.getJSONObject("data"); + List data = JSONObject.parseObject(jsonObject.getString("data"), List.class); return new GeneralResult(true, data, "查询成功"); } catch (Exception e) { log.info("查询失败", e);