@jsonBody 转换属性key发生改变
JJKimKing opened this issue · 1 comments
JJKimKing commented
//某个实体类
public class BgSampleOrderRequest {
private boolean isShipAgain;
}
@post
@LogEnabled(true)
ForestResponse getSampleOrderList(@JSONBody BgSampleOrderRequest request);
执行完代码之后 变成了
打印的body:{ShipAgain:xxx}? 代码源码的转换的位置大概在哪里?
JJKimKing commented
我猜测是和我的实体类的get/set方法有关系 然后我把get/set 例如setIsShipAgain,打印正常.