parent
fdc582e08e
commit
5c25ea95f5
|
@ -27,8 +27,8 @@ public class PayBillApiSerializerPlugin implements ApiSerializerPlugin {
|
||||||
}
|
}
|
||||||
} catch (JsonProcessingException e) {
|
} catch (JsonProcessingException e) {
|
||||||
//处理异常时严禁抛出异常,可以定义自己的错误返回信息
|
//处理异常时严禁抛出异常,可以定义自己的错误返回信息
|
||||||
String result="...";
|
String result = "...";
|
||||||
return new SerializerResult(MediaType.TEXT_PLAIN,result);
|
return new SerializerResult(MediaType.TEXT_PLAIN, result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue