我先request.setAttribute();,之后在Controller中
@RequestMapping()
@ResponseBody
public Response<TradeDetail> selectTradeById(希望在这里通过注解获取到Attribute的值) {
}
阿神2017-04-18 10:32:13
You may need @RequestAttribute.
Reference link: Supported method argument types