public Result multiSend(Dictionary <string, string> parms) { parms.Add("apikey", config.apikey); string text = parms["text"]; string[] textArr = text.Split(','); StringBuilder sb = new StringBuilder(); foreach (var s in textArr) { if (sb.Length != 0) { sb.Append(","); } sb.Append(HttpUtility.UrlEncode(s)); } parms["text"] = sb.ToString(); return(HttpUtil.HttpPost(Config.url_send_multi_sms, parms)); }
public Result tplBatchSend(Dictionary <string, string> parms) { parms.Add("apikey", config.apikey); return(HttpUtil.HttpPost(Config.url_send_tpl_batch_sms, parms)); }
public Result pullStatus(Dictionary <string, string> parms) { parms.Add("apikey", config.apikey); return(HttpUtil.HttpPost(Config.url_pull_flow_status, parms)); }
public Result singleSend(Dictionary <string, string> parms) { parms.Add("apikey", config.apikey); return(HttpUtil.HttpPost(Config.url_send_single_sms, parms)); }
public Result recharge(Dictionary <string, string> parms) { parms.Add("apikey", config.apikey); return(HttpUtil.HttpPost(Config.url_recharge_flow, parms)); }
public Result getPackage(Dictionary <string, string> parms) { parms.Add("apikey", config.apikey); return(HttpUtil.HttpPost(Config.url_get_flow_package, parms)); }
public Result set(Dictionary <string, string> parms) { parms.Add("apikey", config.apikey); return(HttpUtil.HttpPost(Config.url_set_user, parms)); }
public Result del(Dictionary <string, string> parms) { parms.Add("apikey", config.apikey); return(HttpUtil.HttpPost(Config.url_del_tpl, parms)); }
public Result getDefault(Dictionary <string, string> parms) { parms.Add("apikey", config.apikey); return(HttpUtil.HttpPost(Config.url_get_default_tpl, parms)); }