From 2ec42a5aacea35d2918f0e17f07685cf5b4d25c8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 12 五月 2020 20:20:41 +0800 Subject: [PATCH] 包名引用路径更改 --- fanli/src/main/java/com/yeshi/fanli/util/push/IOSPushUtil.java | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/push/IOSPushUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/push/IOSPushUtil.java index 6412692..af963df 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/push/IOSPushUtil.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/push/IOSPushUtil.java @@ -58,8 +58,8 @@ public static String allPushIOS(List<String> deviceTokenList, MessageInfo info, String url, int type) throws Exception { - if (Constant.IS_TEST) - return null; + // if (Constant.IS_TEST) + // return null; Gson gson = new Gson(); PushLogHelper.iosInfo("IOS鎺ㄩ�佽澶囨暟涓�:" + deviceTokenList.size()); @@ -97,9 +97,10 @@ throw new Exception("鑾峰彇鐭摼鍑洪敊"); json = IOSPushFactory.createWEEXPush(shortUrl, info.getTitle(), info.getContent()); } else if (type == PushTypeEnum.baichuan.getCode()) { - String shortUrl = HttpUtil.getShortLink(url); - if (StringUtil.isNullOrEmpty(shortUrl)) - throw new Exception("鑾峰彇鐭摼鍑洪敊"); + String shortUrl = url; + // HttpUtil.getShortLink(url); + // if (StringUtil.isNullOrEmpty(shortUrl)) + // throw new Exception("鑾峰彇鐭摼鍑洪敊"); json = IOSPushFactory.createBaiChuanPush(shortUrl, info.getTitle(), info.getContent()); } else if (type == PushTypeEnum.welfare.getCode()) { json = IOSPushFactory.createWelfarePush(info.getTitle(), info.getContent()); -- Gitblit v1.8.0