原因:在post请求,其属性名在代码中已经修改为partyLocationDtos,但是在swagger中,仍然为partyLocations。

因此,报错。记住,在post请求的时候,要一一对应。写代码测试时,要细心。

05-11 17:57