|
@@ -259,10 +259,9 @@ public class WeComStaffDataJob {
|
|
|
}
|
|
|
if (StringUtils.isNotEmpty(res)) {
|
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
|
- System.out.println("jsonObject = " + jsonObject);
|
|
|
Integer errcode = jsonObject.getInteger("errcode");
|
|
|
if (errcode == 0) {
|
|
|
- JSONArray jsonArray = jsonObject.getJSONArray("behavior_data");
|
|
|
+ JSONArray jsonArray = jsonObject.getJSONArray("items");
|
|
|
if (!jsonArray.isEmpty()) {
|
|
|
JSONObject data = jsonArray.getJSONObject(0);
|
|
|
StaffGroupStatisticsTotal statisticsTotal = new StaffGroupStatisticsTotal();
|