fix(2023-11-14): 解决短链过长被截断的问题
This commit is contained in:
parent
b491b63db8
commit
23d1f57b07
@ -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 "";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user