当前位置: 首页 > news >正文

重慶网站建设网络服务器可提供的常见服务有什么、什么、什么和什么服务

重慶网站建设,网络服务器可提供的常见服务有什么、什么、什么和什么服务,wordpress 加谷歌广告,工业设计的概念是什么旅游企业一般拥有众多的分支机构#xff0c;同时各地分支机构又有众多下属分散在当地各区的旅游营业报名点#xff0c;以前传统的解决方案是采用专线、MODEM拔号等方式#xff0c;专线的成本很高#xff0c;MODEM拔号更费时#xff0c;且长途拔号互联成本在多点情况下费用…旅游企业一般拥有众多的分支机构同时各地分支机构又有众多下属分散在当地各区的旅游营业报名点以前传统的解决方案是采用专线、MODEM拔号等方式专线的成本很高MODEM拔号更费时且长途拔号互联成本在多点情况下费用也不低。相反的是群发短信业务不仅费用低且效率好。 支持免费试用乐讯通PaaS平台 找好用的短信平台,选择乐讯通,短信群发|短信平台|群发短信软件|群发短信平台|乐讯通PaaS平台http://yun.loktong.com/login/register/0c61bafb77 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks;namespace WinApiDemo {class Program{private const string url http://www.lokapi.cn/smsUTF8.aspx;private const string urlReply http://www.lokapi.cn/callApi.aspx;private const string urlStatus http://www.lokapi.cn/statusApi.aspx;private const string urlBalance http://www.lokapi.cn/smsUTF8.aspx;private const string urlKeyword http://www.lokapi.cn/checkWord.aspx;private const string rece json;private const string username ;private const string password ;private const string encode utf-8;//tokenprivate const string tokenYZM ;//验证码private const string tokenTZ ;//通知private const string tokenYX ;//营销private const string tokenMMS ;//彩信private const string tokenVideo ;//视频private const string tokenSX ;//闪信private const string tokenVoice ;//语音private const string tokenInter ;//国际//模板IDprivate const string templateid ;//参数private const string param 17733861234|2541;private const string mobile ;private const string title 祝福短信;//彩信标题static void Main(string[] args){string result ;string sign ;string passwordMd5 Common.Md5Hash(password);string ticks ((DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000).ToString();Encoding encoding Encoding.GetEncoding(encode);StringBuilder sb new StringBuilder();#region 文字短信sb.AppendFormat(actionsendtemplateusername{0}password{1}token{2}timestamp{3}, username, passwordMd5, tokenYZM, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}, sign, rece);sb.AppendFormat(templateid{0}param{1}, templateid, param);result Common.HttpPost(url, sb.ToString(), encoding);Console.WriteLine(result);#endregion#region 彩信sb.Clear();sb.AppendFormat(actionsendimagetextusername{0}password{1}token{2}timestamp{3}, username, passwordMd5, tokenYZM, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}, sign, rece);sb.AppendFormat(mobile{0}title{1}, mobile, title);//彩信发送主体//文字string content 祝你生日快乐;Encoding encodingGB Encoding.GetEncoding(gb2312);byte[] txt_bytes encoding.GetBytes(content);string txt Convert.ToBase64String(txt_bytes);//图片string path D:\我的文档\Pictures\11.jpg;string extension jpg;//图片后缀byte[] bytes File.ReadAllBytes(path);string imgContent System.Convert.ToBase64String(bytes);string message string.Format(txt|{0},{1}|{2};, txt, extension, imgContent);message message.Replace(%, %25);message message.Replace(, %26);message message.Replace(, %2B);sb.AppendFormat(message{0}, message);result Common.HttpPost(url, sb.ToString(), encoding);Console.WriteLine(result);#endregion#region 视频sb.Clear();sb.AppendFormat(actionsendvideousername{0}password{1}token{2}timestamp{3}, username, passwordMd5, tokenYZM, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}, sign, rece);sb.AppendFormat(mobile{0}templateid{1}, mobile, templateid);result Common.HttpPost(url, sb.ToString(), encoding);Console.WriteLine(result);#endregion#region 闪信sb.Clear();sb.AppendFormat(actionsendshanxinusername{0}password{1}token{2}timestamp{3}, username, passwordMd5, tokenYZM, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}, sign, rece);sb.AppendFormat(templateid{0}param{1}, templateid, param);result Common.HttpPost(url, sb.ToString(), encoding);Console.WriteLine(result);#endregion#region 语音sb.Clear();sb.AppendFormat(actionsendvoiceusername{0}password{1}token{2}timestamp{3}, username, passwordMd5, tokenYZM, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}, sign, rece);sb.AppendFormat(templateid{0}param{1}, templateid, param);result Common.HttpPost(url, sb.ToString(), encoding);Console.WriteLine(result);#endregion#region 国际sb.Clear();sb.AppendFormat(actionsendinternationusername{0}password{1}token{2}timestamp{3}, username, passwordMd5, tokenYZM, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}, sign, rece);sb.AppendFormat(templateid{0}param{1}, templateid, param);result Common.HttpPost(url, sb.ToString(), encoding);Console.WriteLine(result);#endregion#region 文字回复报告sb.Clear();sb.AppendFormat(actionsmsusername{0}password{1}timestamp{2}, username, passwordMd5, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}, sign, rece);result Common.HttpPost(urlReply, sb.ToString(), encoding);Console.WriteLine(result);#endregion#region 状态报告sb.Clear();//action根据API文档选择合适产品的actionsb.AppendFormat(actionsmsusername{0}password{1}timestamp{2}, username, passwordMd5, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}, sign, rece);result Common.HttpPost(urlStatus, sb.ToString(), encoding);Console.WriteLine(result);#endregion#region 余额查询sb.Clear();sb.AppendFormat(actionoverageusername{0}password{1}token{2}timestamp{3}, username, passwordMd5, tokenTZ, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}, sign, rece);result Common.HttpPost(urlBalance, sb.ToString(), encoding);Console.WriteLine(result);#endregion#region 屏蔽词检测sb.Clear();sb.AppendFormat(username{0}password{1}timestamp{2}, username, passwordMd5, ticks);sign Common.Md5Hash(sb.ToString());sb.AppendFormat(sign{0}rece{1}message{2}, sign, rece, 您的验证码是5412);result Common.HttpPost(urlKeyword, sb.ToString(), encoding);Console.WriteLine(result);#endregionConsole.ReadKey();}} }using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks;namespace WinApiDemo {public class Common{public static string HttpPost(string Url, string Body, Encoding encode){string ResponseContent ;try{HttpWebRequest httpWebRequest (HttpWebRequest)WebRequest.Create(Url);httpWebRequest.ContentType application/x-www-form-urlencoded;httpWebRequest.Method POST;httpWebRequest.Timeout 600000; //setInstanceFollowRedirectsbyte[] btBodys encode.GetBytes(Body);httpWebRequest.ContentLength btBodys.Length;Stream reqStream httpWebRequest.GetRequestStream();reqStream.Write(btBodys, 0, btBodys.Length);HttpWebResponse httpWebResponse (HttpWebResponse)httpWebRequest.GetResponse();Stream resStream httpWebResponse.GetResponseStream();StreamReader streamReader new StreamReader(resStream, encode);ResponseContent streamReader.ReadToEnd();streamReader.Close();resStream.Close();reqStream.Close();streamReader.Dispose();resStream.Dispose();reqStream.Dispose();httpWebResponse.Close();httpWebResponse.Dispose();httpWebRequest.Abort();}catch (Exception ex){return ex.ToString();}return ResponseContent;}public static string Md5Hash(string input){MD5CryptoServiceProvider md5Hasher new MD5CryptoServiceProvider();byte[] data md5Hasher.ComputeHash(Encoding.Default.GetBytes(input));StringBuilder sBuilder new StringBuilder();for (int i 0; i data.Length; i){sBuilder.Append(data[i].ToString(x2));}return sBuilder.ToString().ToUpper();}} } 服务信息发布旅游信息吸引客户这种方式费用低效率好。景区宣传可对旅游景区点或旅游公司新推出的旅游路线进行描述通过短信发送到潜在顾客的手机上实现对旅游产品及服务的跨区域、跨时空宣传。 订房/订票公司、旅行社可以通过短信通向客户发送消费积分、节日祝福、生日祝贺等实现低成本有效的客户管理加强客情沟通、提高客户满意度提高营业收入。
http://www.pierceye.com/news/187097/

相关文章:

  • 搭建网站步骤做电影网站需要什么条件
  • 您网站建设动漫设计与制作 学校
  • 利用模板如何制作网站泰安整站优化
  • 网站开发与网站建设网站上的聊天框怎么做的
  • 任务网站(做任务学技能的)开发公司宣传册
  • 织梦搭建商城网站高端网站建设深圳
  • 做网站排名优化的公司无需下载直接登录qq手机版
  • 网站不备案不能访问吗wordpress主题开发404页面
  • 工作总结个人总结自动app优化下载
  • 网站开发推荐书籍比较大的外贸网站
  • 上饶建设网站郑州网
  • 做淘宝客网站一定要备案吗没有网站域名备案
  • 用QQ群做网站排名慈溪网站制作哪家最好
  • 兴宁市网站建设手工艺品网站建设策划书
  • flash做网站导航网站品牌建设流程
  • 公司建设网站属于什么费用网站打模块
  • 网站建设应注意的问题网站备案验证码错误
  • 网站核验点网站自己怎么做的
  • 购物网站建设平台canvas可画网页版
  • 企业信息平台系统网站推广优化建设
  • 免费网站模板制作自助建站上建的网站免费吗
  • 深圳市网站建设外包公司门户网站代码结构
  • 昆明做网站建设找谁最新版在线 网
  • 东昌府聊城网站建设网站广告做的好的企业案例分析
  • asp三层架构做网站网站开发前端基础
  • 医院网站建设方案策划书把网站做成app的软件下载
  • 网站建设实践报告3000字wordpress消息提示插件
  • 网站制作的评价标准做网站后台需要什么
  • 学院网站建设服务宗旨实惠的网站建设产品
  • 网站改名 备案影视制作