首页 > 代码库 > SNF开发平台WinForm之十二-发送手机短信功能调用-金笛-SNF快速开发平台3.3-Spring.Net.Framework

SNF开发平台WinForm之十二-发送手机短信功能调用-金笛-SNF快速开发平台3.3-Spring.Net.Framework

1、调用前组装参数:BaseSendTaskEntity entity = new BaseSendTaskEntity();entity.MessType = BaseSendTaskEntity.EnumMessType.Phone.ToString();entity.BusinessType = BaseSendTaskEntity.EnumBusinessType.MES.ToString();entity.WindowName = this.Name;entity.BusinessId = "";entity.DestNumber = "电话号";entity.Content = "发送内容";entity.IsSendFlag = 1;2、调用发送信息服务脚本:SNFService.Instance.CreateService<BaseSendTaskService, IBaseSendTaskService>().SendTaskMessage(UserInfo, this.entity, out statusCode, out statusMessage)

 

SNF开发平台WinForm之十二-发送手机短信功能调用-金笛-SNF快速开发平台3.3-Spring.Net.Framework