Browse Source

提示信息

夏文涛 2 years ago
parent
commit
d0cf025ab7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mhotel/src/com/happy/action/bookAction.java

+ 2 - 1
mhotel/src/com/happy/action/bookAction.java

@@ -276,7 +276,8 @@ public class bookAction extends ActionSupport implements ServletRequestAware {
                         ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
                         ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
                         return null;
                         return null;
                     }
                     }
-                    resultJson.put("message", msg+"成功"+",推送消息失败,原因:"+errmsg);
+                    //resultJson.put("message", msg+"成功"+",推送消息失败,原因:"+errmsg);
+                    resultJson.put("message", "接单成功,因用户未订阅小程序消息,无法推送消息,请通过电话或者短信通知旅客!");
                     resultJson.put("code", 500);
                     resultJson.put("code", 500);
                     ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
                     ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
                     return null;
                     return null;