名字修改

back_recharge
lvxinran 2019-08-14 11:56:54 +08:00
parent cd4ad1da3a
commit 02e214f754
1 changed files with 5 additions and 5 deletions

View File

@ -171,15 +171,15 @@ public class PlayerLogic {
String temp = value.substring(i, i + 1);
if (EmojiUtil.isContainEmoji(temp)) {
LOGGER.error("==========> error , because of Emoji...");
LOGGER.error("==========> error , because of Emoji...{}",value);
return -1;// 如果含有敏感词汇 -1
}
if (temp.matches(chinese)) {
valueLength += 2;
} else {
// if (temp.matches(chinese)) {
// valueLength += 2;
// } else {
valueLength += 1;
}
// }
}
return valueLength;
}