标签:
@RequestBody String requestBody 可以接收 josn 字符串 ,list 等等
public int updateLoaneePriorityNew(HttpServletRequest request,
            @RequestParam("applicationID") int applicationID, // 借款工单号
            @RequestBody String requestBody
            ) {
         
      // String aa= request.getParameter("list");
       
       //JSONObject jsonObject = JSONObject.fromObject(requestBody);
        JSONObject jsonObject = JSONObject.parseObject(requestBody);
       
        //返回请求结果
        JSONObject result= new JSONObject();
        result.put("success", "true");
        
        return  1;
    }
标签:
原文地址:http://www.cnblogs.com/yangjinwang/p/5750517.html