feat(移动端): todo事项

优化消息队列发送完成
master
wayn 4 years ago
parent 232b09f194
commit 00a75cc4f7

@ -109,7 +109,7 @@ public class ElasticDocument {
*/ */
public boolean insertOrUpdateOne(String idxName, ElasticEntity entity) { public boolean insertOrUpdateOne(String idxName, ElasticEntity entity) {
IndexRequest request = new IndexRequest(idxName); IndexRequest request = new IndexRequest(idxName);
log.error("Data : id={},entity={}", entity.getId(), JSON.toJSONString(entity.getData())); log.info("Data : id={},entity={}", entity.getId(), JSON.toJSONString(entity.getData()));
request.id(entity.getId()); request.id(entity.getId());
request.source(entity.getData(), XContentType.JSON); request.source(entity.getData(), XContentType.JSON);
// request.source(JSON.toJSONString(entity.getData()), XContentType.JSON); // request.source(JSON.toJSONString(entity.getData()), XContentType.JSON);

Loading…
Cancel
Save