|
@@ -102,7 +102,7 @@ public class WeComServiceImpl implements WeComService {
|
|
|
return null;
|
|
return null;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public static String truncateString(String input, int maxBytes) {
|
|
|
|
|
|
|
+ public String truncateString(String input, int maxBytes) {
|
|
|
if (input == null || maxBytes <= 0) {
|
|
if (input == null || maxBytes <= 0) {
|
|
|
return "";
|
|
return "";
|
|
|
}
|
|
}
|