// 获取模板路径
PageFlow annotation = method.getAnnotation(PageFlow.class);
if (annotation == null) {
writeTextPlain(out, httpResult);
} else {
PageInfo pageInfo = null;
if (result instanceof Exception) {
pageInfo = annotation.error();
if (result instanceof ValidatorException) {
httpResult
.setInvalidValues(((ValidatorException) result)