// /Demo/TestSendSms?mobile=手机号码 public ActionResult TestSendSms(string mobile) { const string DEMO_Mobile = "15505927595"; const string DEMO_Receiver = "大健康用户:Test"; if (!mobile.HasValue()) { mobile = DEMO_Mobile; } var result = _msgProvider.SendSms(mobile, DEMO_Receiver); //注意:请勿随意发送,本接口每调用一次会被收费! return(Json(result)); }