yujian
2019-06-12 c007868c62c7da5c9ce1bf0e77d9e5f8619826e4
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);