Commit 2ae3b68d by 吕明尚

更改用户获取

parent 4c27ae11
...@@ -198,7 +198,8 @@ public class SConsumerCouponServiceImpl extends ServiceImpl<SConsumerCouponMappe ...@@ -198,7 +198,8 @@ public class SConsumerCouponServiceImpl extends ServiceImpl<SConsumerCouponMappe
@Override @Override
public List<SConsumerCouponVo> availableCouponList(CouponRequest couponRequest) { public List<SConsumerCouponVo> availableCouponList(CouponRequest couponRequest) {
SConsumer user = FrontTokenComponent.getWxSConsumerEntry(); // SConsumer user = FrontTokenComponent.getWxSConsumerEntry();
SConsumer user = sConsumerService.getInfo();
if (ObjectUtils.isEmpty(user)) { if (ObjectUtils.isEmpty(user)) {
return new ArrayList<>(); return new ArrayList<>();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment