...
|
...
|
@@ -85,7 +85,7 @@ public class UserInfoDataSyncServiceImpl { |
|
|
// 批量增加
|
|
|
BulkRequest bulkAddRequest = new BulkRequest();
|
|
|
for (UserInfo info : userInfoList) {
|
|
|
IndexRequest indexRequest = new IndexRequest("user", "userInfo", 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);
|
|
|
}
|
...
|
...
|
|