1. 使用postman,body里面的json格式 :https://blog.csdn.net/qq_35885488/article/details/80310062

数组:[{ , , },{ , , }]

int类型不需要" "

2. 我使用了自增,但是mysql里面居然没设置AI(auto increasement),导致出现错误 field have default value。

https://blog.csdn.net/maxiao1204/article/details/78407761 

3. 使用modelandview+requestbody我实在不行,总说通过$.post()设置的列表无法传进来,结果requestbody接受参数为null,报错。我放弃了,改用requestbody+responsebody。以后再改这个问题。