修改会员码生成逻辑
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user