|
@@ -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());
|