Authored by 张帅

update

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