修改人:邹江涛

修改内容:接口入参、出参处理插件1.0
修改时间:2024/11/08
This commit is contained in:
zoujiangtao 2024-11-08 14:29:03 +08:00
parent fdc582e08e
commit 5c25ea95f5
2 changed files with 4 additions and 4 deletions

View File

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