夏文涛 пре 2 година
родитељ
комит
d0cf025ab7
1 измењених фајлова са 2 додато и 1 уклоњено
  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());
                         return null;
                     }
-                    resultJson.put("message", msg+"成功"+",推送消息失败,原因:"+errmsg);
+                    //resultJson.put("message", msg+"成功"+",推送消息失败,原因:"+errmsg);
+                    resultJson.put("message", "接单成功,因用户未订阅小程序消息,无法推送消息,请通过电话或者短信通知旅客!");
                     resultJson.put("code", 500);
                     ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
                     return null;