raojiaolong@163.com 3 rokov pred
rodič
commit
6b0b023e04

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

@@ -167,7 +167,10 @@ public class bookAction extends ActionSupport implements ServletRequestAware {
                     ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
                     return null;
                 }
-
+                resultJson.put("message", msg+"成功");
+                resultJson.put("code", 500);
+                ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
+                return null;
             } else {
                 resultJson.put("message", msg+"失败");
                 resultJson.put("code", 502);