修改耗材提醒
This commit is contained in:
parent
65fe019b9e
commit
c353e03dbf
|
|
@ -69,6 +69,8 @@ public class ConsMsgConsumer {
|
|||
@RabbitHandler
|
||||
public void listener(String message) {
|
||||
|
||||
log.info("耗材即将售罄提醒:{}",message);
|
||||
|
||||
JSONObject object = JSONObject.parseObject(message);
|
||||
if (Objects.isNull(object) || !object.containsKey("skuId") || !object.containsKey("shopId") || Objects.isNull(object.getInteger("skuId")) || Objects.isNull(object.getInteger("shopId"))) {
|
||||
log.info("接收的信息为空");
|
||||
|
|
|
|||
Loading…
Reference in New Issue