@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;
    }

相关文章:

  • 2022-12-23
  • 2021-09-09
  • 2021-07-09
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2021-11-24
  • 2021-08-03
猜你喜欢
  • 2021-04-06
  • 2022-12-23
  • 2021-08-30
  • 2021-11-09
  • 2022-12-23
  • 2021-06-07
  • 2021-12-16
相关资源
相似解决方案