@RequestMapping(value="/user/token/{token}",produces=MediaType.APPLICATION_JSON_UTF8_VALUE)//"application/json;charset=utf-8"
//从请求中获取参数
@PathVariable String token
//参数添加默认值@RequestParam(defaultValue="1")
@RequestMapping(value="/user/token/{token}",produces=MediaType.APPLICATION_JSON_UTF8_VALUE)//"application/json;charset=utf-8"
//从请求中获取参数
@PathVariable String token
//参数添加默认值@RequestParam(defaultValue="1")