修改会员码生成逻辑

This commit is contained in:
韩鹏辉
2024-05-31 11:40:31 +08:00
parent caa46364c2
commit 78c5f533a8

View File

@@ -272,7 +272,7 @@ public class LoginService {
String dynamicCode = RandomUtil.randomNumbers(8);
dynamicCode = StringUtils.rightPad(tbShopUser.getId(), 6, "0").concat(dynamicCode);
tbShopUser.setDynamicCode(dynamicCode);
tbShopUser.setDynamicCode("46".concat(dynamicCode));
tbShopUser.setUpdatedAt(System.currentTimeMillis());
tbShopUserMapper.updateByPrimaryKeySelective(tbShopUser);