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