public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <string> SendMsg(Jinher.AMP.BTP.Deploy.CustomDTO.WeChat.SendMsgDTO param) { //定义返回值 Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <string> result; try { //调用代理方法 result = base.Channel.SendMsg(param); } catch { //抛异常 throw; } finally { //关链接 ChannelClose(); } //返回结果 return(result); }
/// <summary> /// 发送消息 /// </summary> public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <string> SendMsg(Jinher.AMP.BTP.Deploy.CustomDTO.WeChat.SendMsgDTO param) { base.Do(); return(this.SendMsgExt(param)); }