|
|
@@ -22,14 +22,25 @@ namespace CallCenterApi.Interface.Controllers
|
|
22
|
22
|
{
|
|
23
|
23
|
public class SMSController : BaseController
|
|
24
|
24
|
{
|
|
25
|
|
-
|
|
26
|
|
- private static string Smsurl = "http://rcsapi.wo.cn:8000/umcinterface/sendtempletmsg";
|
|
27
|
|
- private static string Smsurl1 = "http://220.250.65.184:9014/union-gjdx-sms-api/sms/submit";
|
|
28
|
|
- static string cpcode = "AABJYC";
|
|
29
|
|
- static string key = "724ee6be83d8d6f4d64ef5a537a9985d";
|
|
30
|
25
|
|
|
|
26
|
+ //private static string Smsurl = "http://rcsapi.wo.cn:8000/umcinterface/sendtempletmsg";
|
|
|
27
|
+ //private static string Smsurl1 = "http://220.250.65.184:9014/union-gjdx-sms-api/sms/submit";
|
|
|
28
|
+ //static string cpcode = "AABJYC";
|
|
|
29
|
+ //static string key = "724ee6be83d8d6f4d64ef5a537a9985d";
|
|
|
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
|
+ }
|
|
31
|
43
|
|
|
32
|
|
-
|
|
33
|
44
|
|
|
34
|
45
|
|
|
35
|
46
|
/// <summary>
|