Browse Source

修改bug

raojiaolong@163.com 2 years ago
parent
commit
ebc7077257
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mhotel/src/com/happy/action/bookAction.java

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

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