yujian
2020-05-09 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64
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);