admin
2020-06-09 b66e339f4ea1d4dfad8c21658e1e83046ee511f4
fanli/src/main/java/com/yeshi/fanli/util/push/PushUtils.java
@@ -87,13 +87,13 @@
    * @param json
    * @return
    */
   public static int singlePushXiaoMi(MessageInfo info, JSONObject json, PushRecord pushRecord) {
      if (Constant.IS_TEST)
         return 1;
   public static int singlePushXiaoMi(MessageInfo info, JSONObject json,List<String> regIds, PushRecord pushRecord) {
//      if (Constant.IS_TEST)
//         return 1;
      JSONObject mapXm = JSONObject.fromObject(json);
      String android = XiaoMiPushUtil.singlePushAndroidForXM(info, mapXm, null);
      String android = XiaoMiPushUtil.singlePushAndroidForXM(info, mapXm,regIds, null);
      LogHelper.userInfo("安卓推送测试:" + android);
      pushRecord.setAndroidPushId(android);