Pu Zhibing
22 小时以前 f72ae151cc12b219cb5f39eea3ec0ea089a6ef2a
UserQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/PushUtil.java
@@ -84,6 +84,7 @@
      params.put("msg", jsonObject.toJSONString());
      params.put("id", uid);
      params.put("type", type);
      params.put("bussinessType", "dache");
      post.form(params);
      HttpResponse execute = post.execute();
      if (200 != execute.getStatus()) {
@@ -104,7 +105,7 @@
    * @param orderId
    * @param orderType
    */
   public void pushEndPush(Integer type, Integer uid, Integer orderId, Integer orderType) {
   public void pushEndPush(Integer type, Integer uid, Integer orderId, Integer orderType, Integer state) {
      JSONObject jsonObject = new JSONObject();
      jsonObject.put("code", 200);
      jsonObject.put("msg", "SUCCESS");
@@ -112,6 +113,7 @@
      Map<String, Object> map = new HashMap<>();
      map.put("orderId", orderId);
      map.put("orderType", orderType);
      map.put("state", state);
      jsonObject.put("data", map);
      
      //调用推送
@@ -122,6 +124,7 @@
      params.put("msg", jsonObject.toJSONString());
      params.put("id", uid);
      params.put("type", type);
      params.put("bussinessType", "dache");
      post.form(params);
      HttpResponse execute = post.execute();
      if (200 != execute.getStatus()) {
@@ -315,6 +318,7 @@
      params.put("msg", msg.toJSONString());
      params.put("id", jsonObject.getIntValue("id"));
      params.put("type", jsonObject.getIntValue("type"));
      params.put("bussinessType", "dache");
      post.form(params);
      HttpResponse execute = post.execute();
      if (200 != execute.getStatus()) {
@@ -364,6 +368,7 @@
      params.put("msg", msg.toJSONString());
      params.put("id", id);
      params.put("type", type);
      params.put("bussinessType", "dache");
      post.form(params);
      HttpResponse execute = post.execute();
      if (200 != execute.getStatus()) {
@@ -404,6 +409,7 @@
      params.put("msg", jsonObject.toJSONString());
      params.put("id", uid);
      params.put("type", type);
      params.put("bussinessType", "dache");
      post.form(params);
      HttpResponse execute = post.execute();
      if (200 != execute.getStatus()) {