| | |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import org.junit.Test; |
| | | import org.yeshi.utils.push.MeiZuPushUtil; |
| | | import org.yeshi.utils.push.entity.PushAppInfo; |
| | | import org.yeshi.utils.push.entity.PushMessage; |
| | | import org.yeshi.utils.push.exception.MeiZuPushException; |
| | |
| | | // e.printStackTrace(); |
| | | // } |
| | | |
| | | try { |
| | | MeiZuPushUtil.pushNotificationByPushId(createMeiZuApp(), message, Arrays.asList(new String[]{"UCI4e0f4070047c4949057e76446d6474484500447b05"})); |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } catch (MeiZuPushException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | // try { |
| | | // MeiZuPushUtil.pushNotificationByPushId(createMeiZuApp(), message, Arrays.asList(new String[]{"UCI4e0f4070047c4949057e76446d6474484500447b05"})); |
| | | // } catch (IOException e) { |
| | | // e.printStackTrace(); |
| | | // } catch (MeiZuPushException e) { |
| | | // e.printStackTrace(); |
| | | // } |
| | | } |
| | | |
| | | |