fix(2023-11-14): 解决短链过长被截断的问题

This commit is contained in:
luofu 2023-11-15 12:22:48 +08:00
parent b491b63db8
commit 23d1f57b07

View File

@ -160,10 +160,10 @@ public class SmsSendManagerComposite implements SmsSendManager, ApplicationConte
private String handleSmsVariableSize(String str) {
if (str != null) {
int size = str.length();
if ( size <= 25 ) {
if ( size <= 35 ) {
return str;
}
return str.substring(0, 22) + "...";
return str.substring(0, 32) + "...";
}
return "";
}