Exemplo n.º 1
0
 /// <summary>
 /// 系统通知
 /// </summary>
 /// <param name="mobile"></param>
 public static void Notice(string mobile, string code, string expires, string type = "1")
 {
     CCPSMSHelper.SendTemplateSMS(mobile, "227972", new string[] { code, expires });
 }
Exemplo n.º 2
0
 /// <summary>
 /// 测试短信验证
 /// </summary>
 /// <param name="mobile"></param>
 /// <param name="code"></param>
 /// <param name="expires"></param>
 public static int  TestNotify(string mobile, string code, string expires, string type = "1")
 {
     return(CCPSMSHelper.SendTemplateSMS(mobile, "1", new string[] { code, expires }));
 }