| | |
| | | public GoodsorderService goodsorderService; |
| | | |
| | | @Autowired |
| | | public SearchHistoryService searchHistoryService; |
| | | |
| | | @Autowired |
| | | public ShopService shopService; |
| | | |
| | | @Autowired |
| | |
| | | @Autowired |
| | | public FundService fundService; |
| | | |
| | | @Autowired |
| | | public InviteRecordService inviteRecordService; |
| | | |
| | | |
| | | /** |
| | | * 得到request对象 |
| | |
| | | HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); |
| | | return request; |
| | | } |
| | | |
| | | protected String getToken() { |
| | | Object obj = this.getRequest().getAttribute(JwtTokenUtil.HEADER_KEY); |
| | | return obj != null ? (String) obj : null; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取用户ID |
| | | * |