diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/shortmessage/service/impl/BizShortMessageServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/shortmessage/service/impl/BizShortMessageServiceImpl.java index f718ebb..17d0874 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/shortmessage/service/impl/BizShortMessageServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/shortmessage/service/impl/BizShortMessageServiceImpl.java @@ -25,6 +25,7 @@ import java.nio.charset.StandardCharsets; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; +import java.util.UUID; import java.util.concurrent.TimeUnit; /** @@ -56,8 +57,7 @@ public class BizShortMessageServiceImpl extends BaseServiceImpl= len) + { + return null; + } + + String uuid = getUUID(); + System.out.println(uuid); + StringBuffer str = new StringBuffer(); + + for (int i = 0; i < len; i++) + { + str.append(uuid.charAt(i)); + } + + return str.toString(); } }