Commit ab698c61 by weijiguang

添加错误日志

parent 9189e722
......@@ -32,10 +32,11 @@ public class MyJiGuangPushServiceImpl implements MyJiGuangPushService {
*/
@Override
public boolean pushAll(PushBean pushBean){
Message build = new Message.Builder().setMsgContent(pushBean.getMessageCount().toJSONString()).build();
return sendPush(PushPayload.newBuilder()
.setPlatform(Platform.all())
.setAudience(Audience.all())
.setNotification(Notification.alert(pushBean.getAlert()))
.setMessage(build)
.build());
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment