http get请求 传参 接收写法

http://10.0.0.60:8080/idc-http/yundou/select/1111111

这种传参方式

	@RequestMapping(value="/select/{imei}",method = RequestMethod.GET)
	@ResponseBody
	public String select(HttpServletRequest request,@PathVariable("imei") String imei) throws UnsupportedEncodingException{
}

这样去接 

通常是?id=123456


猜你喜欢

转载自blog.csdn.net/u010310183/article/details/53185974
今日推荐