Authored by 张帅

update

@@ -91,7 +91,7 @@ public class UserInfoDataSyncServiceImpl { @@ -91,7 +91,7 @@ public class UserInfoDataSyncServiceImpl {
91 // 批量增加 91 // 批量增加
92 BulkRequest bulkAddRequest = new BulkRequest(); 92 BulkRequest bulkAddRequest = new BulkRequest();
93 for (UserInfo info : userInfoList) { 93 for (UserInfo info : userInfoList) {
94 - IndexRequest indexRequest = new IndexRequest("grass", "userInfo2", String.valueOf(info.getYoho_uid())); 94 + IndexRequest indexRequest = new IndexRequest("grass", "userInfo", String.valueOf(info.getYoho_uid()));
95 indexRequest.source(JSON.toJSONString(info), XContentType.JSON); 95 indexRequest.source(JSON.toJSONString(info), XContentType.JSON);
96 bulkAddRequest.add(indexRequest); 96 bulkAddRequest.add(indexRequest);
97 } 97 }