带Boolean类型的参数的接口用postman测试时传参问题

带Boolean类型的参数的接口用postman测试时传参问题

@Data
public class ATest
{
    private Boolean isCommit;
}
postman 测试时传参示范
{ "isCommit": true --错误示范 "commit": true--正确示范 }

  

猜你喜欢

转载自www.cnblogs.com/j-liu3323/p/10729671.html