spring页面使用注解@RequestParam把请求参数封装到map中

                                         spring页面请求参数封装到map中

使用注解@RequestParam :

 

 /**
     * 查询全部[对应企业的全部]
     * @return
     */
    @RequestMapping(value="/user",method = RequestMethod.GET)
    public Result findAll(int page,int size,@RequestParam Map map){


        return new Result(ResultCode.SUCCESS,"");

    }

猜你喜欢

转载自blog.csdn.net/qq_15204179/article/details/86656489
今日推荐