Bläddra i källkod

更新文件 appAction.java

陈士柏 2 år sedan
förälder
incheckning
c1f57efdcc
1 ändrade filer med 2 tillägg och 2 borttagningar
  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());
                 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("code", 500);
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
@@ -765,7 +765,7 @@ public class appAction extends ActionSupport implements ServletRequestAware {
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
                 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("code", 500);
                 ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());