带Boolean类型的参数的接口用postman测试时传参问题
@Data public class ATest { private Boolean isCommit; }
postman 测试时传参示范
{
"isCommit": true --错误示范
"commit": true--正确示范
}
带Boolean类型的参数的接口用postman测试时传参问题
@Data public class ATest { private Boolean isCommit; }
postman 测试时传参示范
{
"isCommit": true --错误示范
"commit": true--正确示范
}
转载于:https://www.cnblogs.com/j-liu3323/p/10729671.html