Commit 1af3261b authored by 赵啸非's avatar 赵啸非

添加返回http code 500错误

parent d1e9e254
...@@ -59,9 +59,6 @@ public class ParamController extends BaseCRUDJsonBodyMappingController<ParamServ ...@@ -59,9 +59,6 @@ public class ParamController extends BaseCRUDJsonBodyMappingController<ParamServ
@Override @Override
protected void doListAfter(ParamEntity query, List<ParamEntity> list, Context context) throws AppException { protected void doListAfter(ParamEntity query, List<ParamEntity> list, Context context) throws AppException {
super.doListAfter(query, list, context); super.doListAfter(query, list, context);
this.response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
} }
@RequestMapping(method = {RequestMethod.GET, RequestMethod.POST}, value = "key") @RequestMapping(method = {RequestMethod.GET, RequestMethod.POST}, value = "key")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment