Merge branch 'master' of gitee.com:super-shopkeeper/chaozhanggui into ys
Signed-off-by: liuyingfang <8517512+liuyingfang@user.noreply.gitee.com>
This commit is contained in:
@@ -229,6 +229,11 @@ public class GetuiPushUtil implements IPush {
|
||||
sendAndroidByAlias(alias, notificationTitle, msgContent, extrasParam);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendAllPlatByAliasExt(List<String> alias, String notificationTitle, String msgContent, String extrasParam) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendIOSAll(String notificationTitle, String msgContent, String extrasParam) {
|
||||
init();
|
||||
|
||||
@@ -34,6 +34,16 @@ public interface IPush {
|
||||
*/
|
||||
void sendAllPlatByAlias(List<String> alias, String notificationTitle, String msgContent, String extrasParam);
|
||||
|
||||
/**
|
||||
* 推送到全部,android & iOS
|
||||
*
|
||||
* @param alias id数组
|
||||
* @param notificationTitle 推送通知标题
|
||||
* @param msgContent 推送内容
|
||||
* @param extrasParam 附加参数
|
||||
*/
|
||||
void sendAllPlatByAliasExt(List<String> alias, String notificationTitle, String msgContent, String extrasParam);
|
||||
|
||||
/**
|
||||
* 推送到全部iphone
|
||||
*
|
||||
|
||||
@@ -96,6 +96,11 @@ public class JGPushUtil implements IPush {
|
||||
sendAndResultHandle(pushPayload);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendAllPlatByAliasExt(List<String> alias, String notificationTitle, String msgContent, String extrasParam) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendIOSAll(String notificationTitle, String msgContent, String extrasParam) {
|
||||
PushPayload pushPayload = getPayLoadBuilder(notificationTitle, msgContent, extrasParam)
|
||||
|
||||
@@ -119,6 +119,11 @@ public class MobPushUtil implements IPush {
|
||||
sendAndResultHandle(push);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendAllPlatByAliasExt(List<String> alias, String notificationTitle, String msgContent, String extrasParam) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendIOSAll(String notificationTitle, String msgContent, String extrasParam) {
|
||||
PushNotify notify = generalPushNotify(notificationTitle, msgContent, extrasParam);
|
||||
|
||||
@@ -162,6 +162,8 @@ public class MobV2PushUtil {
|
||||
|
||||
ApiResult<Map<String, Map<String, String>>> apiResult = pushApi.pushBatchByAlias(pushBatchDTO);
|
||||
|
||||
log.info("[uni推送]PushResult result is {}", apiResult.getData());
|
||||
|
||||
if (apiResult.isSuccess()) {
|
||||
// success
|
||||
System.out.println(apiResult.getData());
|
||||
|
||||
Reference in New Issue
Block a user