zhoufan 4 lat temu
rodzic
commit
73b9466f4c

+ 4 - 14
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/SMSController.cs

@@ -28,20 +28,10 @@ namespace CallCenterApi.Interface.Controllers
28 28
         //static string cpcode = "AABJYC";
29 29
         //static string key = "724ee6be83d8d6f4d64ef5a537a9985d";
30 30
 
31
-        private static string Smsurl = "";
32
-        private static string Smsurl1 = "";
33
-        static string cpcode = "";
34
-        static string key = "";
35
-
36
-        public SMSController()
37
-        {
38
-            Smsurl = Configs.GetValue("Smsurl");
39
-            Smsurl1 = Configs.GetValue("Smsurl1");
40
-            cpcode = Configs.GetValue("Smscpcode");
41
-            key = Configs.GetValue("Smskey");
42
-        }
43
-
44
-
31
+        private static string Smsurl = Configs.GetValue("Smsurl");
32
+        private static string Smsurl1 = Configs.GetValue("Smsurl1");
33
+        static string cpcode = Configs.GetValue("Smscpcode");
34
+        static string key = Configs.GetValue("Smskey");
45 35
 
46 36
         /// <summary>
47 37
         /// MD5加密