开通手膜脚膜权限

This commit is contained in:
wuchunlei
2024-12-17 09:51:06 +08:00
parent 978c7ab768
commit f08bf4acbd
2 changed files with 4 additions and 2 deletions

View File

@@ -301,7 +301,8 @@ public class AliPayServiceImpl implements AliPayService {
List<Integer> collect = buyOrderProductDao.selectList(new LambdaQueryWrapper<BuyOrderProduct>().eq(BuyOrderProduct::getOrderId, order.getOrderId())).stream().map(BuyOrderProduct::getProductId).collect(Collectors.toList());
//手摸脚模购买后会开启用户的脉穴的功能
if(collect.contains(128)||collect.contains(129)||collect.contains(130)||collect.contains(131)||collect.contains(136)||collect.contains(137)){
if(collect.contains(128)||collect.contains(129)||collect.contains(130)||collect.contains(131)
||collect.contains(136)||collect.contains(137)||collect.contains(139)||collect.contains(1612)){
MyUserEntity userInfo = userService.getById(order.getUserId());
userInfo.setPointPower(1);
userService.updateById(userInfo);

View File

@@ -254,7 +254,8 @@ public class WxpayServiceImpl extends ServiceImpl<PayWechatOrderDao, PayWechatOr
couponService.insertCouponHistoryByProductId(order);
List<Integer> collect = buyOrderProductDao.selectList(new LambdaQueryWrapper<BuyOrderProduct>().eq(BuyOrderProduct::getOrderId, order.getOrderId())).stream().map(BuyOrderProduct::getProductId).collect(Collectors.toList());
//手摸脚模购买后会开启用户的脉穴的功能
if(collect.contains(128)||collect.contains(129)||collect.contains(130)||collect.contains(131)||collect.contains(136)||collect.contains(137)){
if(collect.contains(128)||collect.contains(129)||collect.contains(130)||collect.contains(131)
||collect.contains(136)||collect.contains(137)||collect.contains(139)||collect.contains(1612)){
MyUserEntity userInfo = userService.getById(order.getUserId());
userInfo.setPointPower(1);
userService.updateById(userInfo);