Browse Source

更新文件 appAction.java

陈士柏 2 years ago
parent
commit
c1f57efdcc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mhotel/src/com/happy/action/appAction.java

+ 2 - 2
mhotel/src/com/happy/action/appAction.java

@@ -710,7 +710,7 @@ public class appAction extends ActionSupport implements ServletRequestAware {
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
                 return null;
                 return null;
             }
             }
-            if (arounds.getRtype()==null || arounds.getRname()==null || arounds.getRtown()==null || arounds.getRadress()==null || arounds.getRphone()==null || arounds.getDetail()==null || arounds.getFirst_img()==null || arounds.getShow_video()==null || arounds.getDetail_img()==null || arounds.getJingwei()==null){
+            if (arounds.getRtype()==null || arounds.getRname()==null || arounds.getRtown()==null || arounds.getRadress()==null || arounds.getRphone()==null || arounds.getDetail()==null || arounds.getFirst_img()==null || arounds.getDetail_img()==null || arounds.getJingwei()==null){
                 resultjson.put("message", "各参数不能为空");
                 resultjson.put("message", "各参数不能为空");
                 resultjson.put("code", 500);
                 resultjson.put("code", 500);
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
@@ -765,7 +765,7 @@ public class appAction extends ActionSupport implements ServletRequestAware {
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
                 return null;
                 return null;
             }
             }
-            if (arounds.getId()==null || arounds.getRtype()==null || arounds.getRname()==null || arounds.getRtown()==null || arounds.getRadress()==null || arounds.getRphone()==null || arounds.getDetail()==null || arounds.getFirst_img()==null || arounds.getShow_video()==null || arounds.getDetail_img()==null || arounds.getJingwei()==null){
+            if (arounds.getId()==null || arounds.getRtype()==null || arounds.getRname()==null || arounds.getRtown()==null || arounds.getRadress()==null || arounds.getRphone()==null || arounds.getDetail()==null || arounds.getFirst_img()==null || arounds.getDetail_img()==null || arounds.getJingwei()==null){
                 resultjson.put("message", "各参数不能为空");
                 resultjson.put("message", "各参数不能为空");
                 resultjson.put("code", 500);
                 resultjson.put("code", 500);
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());