8月7日

postman测试的时候遇到一些坑,

管理系统需要authorization,这里需要了解一下authorization和cookie,以后面试还是能用上的。

写代码的时候,有时候同样的名字的包容易调错,而且整个系统都不报错,在测试的时候就很难排查,比如pageable,有JPA的pageable和jwt的pageable。

测试删除,传入idx数组的方式。

“could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement”,

是因为有非空字段请求体中没有,