张延森 5 år sedan
förälder
incheckning
0c2d575543
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      src/main/java/com/huiju/estateagents/common/SMSUtils.java

+ 2
- 2
src/main/java/com/huiju/estateagents/common/SMSUtils.java Visa fil

@@ -19,12 +19,12 @@ public class SMSUtils {
19 19
     // 短信服务配置
20 20
     SMSProperties smsProperties;
21 21
 
22
-    Map<String, Phone> allPhones;
22
+    Hashtable<String, Phone> allPhones;
23 23
 
24 24
     @Autowired
25 25
     public SMSUtils(SMSProperties properties) {
26 26
         smsProperties = properties;
27
-        allPhones = new HashMap<>();
27
+        allPhones = new Hashtable<>();
28 28
     }
29 29
 
30 30
     /**