admin
2019-05-31 4ef5bf9e64a1eb32e18829c0146a94b3b702fb84
fanli/src/main/java/com/yeshi/fanli/util/push/PushUtils.java
@@ -15,7 +15,7 @@
import net.sf.json.JSONObject;
public class PushUtils {
   @Resource
   private PushService pushService;
@@ -29,11 +29,10 @@
    * @throws Exception
    */
   public static int allPushXiaoMi(MessageInfo info, JSONObject json, PushRecord pushRecord) throws Exception {
      if(Constant.IS_TEST)
      if (Constant.IS_TEST)
         return 1;
      JSONObject mapXm = JSONObject.fromObject(json);
      String android = XiaoMiPushUtil.allPushAndroidForXM(info, mapXm);
@@ -86,7 +85,7 @@
    * @return
    */
   public static int singlePushXiaoMi(MessageInfo info, JSONObject json, PushRecord pushRecord) {
      if(Constant.IS_TEST)
      if (Constant.IS_TEST)
         return 1;
      JSONObject mapXm = JSONObject.fromObject(json);