yujian
2019-06-26 020d940ae4e16f55f69cef3dd4c8dc0b9764af07
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);