会员充值成功 携带用户数据

This commit is contained in:
wangw 2024-05-31 10:34:50 +08:00
parent c81a2106d0
commit 63a3c7c652
1 changed files with 3 additions and 0 deletions

View File

@ -1103,6 +1103,9 @@ public class PayService {
}
if(!"1".equals(tbShopUser.getIsVip().toString())){
TbUserInfo userInfo = tbUserInfoMapper.selectByPrimaryKey(memberIn.getUserId());
tbShopUser.setName(userInfo.getNickName());
tbShopUser.setTelephone(userInfo.getTelephone());
tbShopUser.setCode(DateUtils.getsdfTimesSS());
tbShopUser.setIsVip(Byte.parseByte("1"));
}