admin
2024-01-23 81da61b828e29b7745e1382dfbbaeb685dc083ef
fanli/src/main/java/com/yeshi/fanli/util/push/PushUtils.java
@@ -58,7 +58,7 @@
    * @throws Exception
    */
   public static int allPushIOS(MessageInfo info, PushRecord pushRecord, String url, int type,
         List<String> deviceTokenList) throws Exception {
         List<String> deviceTokenList,String pwd) throws Exception {
      /*
       * com.yeshi.fanli.entity.system.System b_IOS =
@@ -69,7 +69,7 @@
      if (Constant.IS_TEST)
         return 1;
      String IOS = IOSPushUtil.allPushIOS(deviceTokenList, info, url, type);
      String IOS = IOSPushUtil.allPushIOS(deviceTokenList, info, url, type,pwd);
      LogHelper.userInfo("IOS的推送日志:" + IOS);
      pushRecord.setIosPushId(IOS);
@@ -136,7 +136,7 @@
    * @return
    */
   public static String singlePushIOS(MessageInfo info, PushRecord pushRecord, String url, int type,
         List<String> deviceTokenList) {
         List<String> deviceTokenList, String pwd) {
      if (Constant.IS_TEST)
         return null;
      if (deviceTokenList != null && deviceTokenList.size() > 0) {
@@ -145,7 +145,7 @@
               try {
                  List<String> deviceList = new ArrayList<>();
                  deviceList.add(deviceToken);
                  String IOS = IOSPushUtil.allPushIOS(deviceList, info, url, type);
                  String IOS = IOSPushUtil.allPushIOS(deviceList, info, url, type,pwd);
                  pushRecord.setIosPushId(IOS);
               } catch (Exception e) {
                  e.printStackTrace();