这些决定与request header 的Content-Type属性
1、通过@RequestParam
@RequestParam Map<String, Object> params
http://58.87.111.2:5566/?platId=001&name=INSURANCE_DEMO_ID
2、@RequestBody
@RequestBody ProviderInformationPO information
3、占位符@PathVariable
@RequestMapping(method = RequestMethod.DELETE , value = "/remove/{id}")
public ResultData remove(@PathVariable("id") String id){
http://127.0.0.1:6868/dict/dictInfor/edit/2
4、'Content-Type':'multipart/form-data' 通常用到上传文件与数据一起如下例子:
public ResultData save(ProviderInformationVO providerInformationVO){