|
@@ -183,18 +183,7 @@ public class CustomProductServiceImpl extends BaseServiceImpl<ICustomProductMapp
|
|
|
componentEntity.setExamine(2);
|
|
|
componentEntity.setExamineTime(new Date());
|
|
|
customComponentService.updateById(componentEntity);
|
|
|
- JSONObject jsonObject = new JSONObject();
|
|
|
- String version = SnowFlakeUUidUtils.generaUUid(null, null, null);
|
|
|
- CustomProductServiceImpl.log.info("更新配件模型库,syncmodel接口参数:");
|
|
|
- try {
|
|
|
- uploadToOssUtil.uploadTo4dTjw(syncDataArray.toJSONString().getBytes(), "domain/eHome/furniture/syncdata/" +
|
|
|
- version + "/SyncData.json");
|
|
|
- } catch (IOException e) {
|
|
|
- e.printStackTrace();
|
|
|
- }
|
|
|
- CustomProductServiceImpl.log.info("上传完成SyncData.jsn:" + version);
|
|
|
- jsonObject.put("version", version);
|
|
|
- String message = id + ":;" + "3" + ":;" + jsonObject.toString();
|
|
|
+ String message = id + ":;" + "3" + ":;" + "no";
|
|
|
rabbitTemplate.convertAndSend(TopicRabbitConfig.TOPICE, TopicRabbitConfig.SYNCMODEL, message);
|
|
|
}
|
|
|
});
|