| | |
| | | if (mUniMPCaches.containsKey(uniAppId)) { |
| | | if (mUniMPCaches.get(uniAppId) != null) { |
| | | mUniMPCaches.get(uniAppId).sendUniMPEvent(topic, data); |
| | | HdlLogLogic.print("发送通知成功:event:" + topic + " data:" + new Gson().toJson(data)); |
| | | HdlLogLogic.print("Android--->通知---uni--->主题:" + topic + "--->发送数据:" + new Gson().toJson(data)); |
| | | } else { |
| | | HdlLogLogic.print("发送失败,小程序对象为空:" + uniAppId); |
| | | HdlLogLogic.print("Android--->通知---uni--->失败--->小程序对象为空:" + uniAppId); |
| | | } |
| | | } else { |
| | | HdlLogLogic.print("发送失败,找不到对应的小程序:" + uniAppId); |
| | | HdlLogLogic.print("Android--->通知---uni--->失败--->小程序对象为空:" + uniAppId); |
| | | } |
| | | |
| | | } |