Parcourir la source

fix 与cps后台自定义链接区分开

zoujiajian il y a 3 ans
Parent
commit
055655b5d4

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/user/impl/UserServiceImpl.java

@@ -255,7 +255,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
 		Integer update = 0;
 		String showId = null;
 		while (update != 1) {
-			showId = RandomUtil.randomString(6);
+			showId = RandomUtil.randomStringUpper(6);
 			update = userMapper.update(null, Wrappers.lambdaUpdate(User.class)
 					.set(User::getShowId, showId)
 					.eq(User::getId, userId));