在@RestController下,

    1. post接受参数,如果是form-data可直接使用类对象接收
    2. post接受参数,如果是json数据,需要用@RequestBoby