lisy
2023-07-21 c37acfa5fd70c1d658295f5635b630d3beef7ce0
cloud-server-other/src/main/java/com/dsh/other/controller/SystemNoticeController.java
@@ -12,6 +12,7 @@
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
@@ -68,7 +69,9 @@
        List<String> tellS = new ArrayList<>();
        List<Phone> list = phoneService.list();
        if (list.size() > 0 ){
            tellS = list.stream().map(Phone::getPhone).collect(Collectors.toList());
            String phone = list.get(0).getPhone();
            String[] split = phone.split(",");
            tellS = Arrays.asList(split);
        }
        return tellS;