Esempio n. 1
0
        /// <summary>
        /// 处理请求
        /// </summary>
        /// <returns></returns>
        public string HandleRequest()
        {
            string response = string.Empty;

            //回复欢迎消息
            ReponseMsgText mt = new ReponseMsgText();

            mt.ToUserName   = reqEvent.FromUserName;
            mt.FromUserName = reqEvent.ToUserName;
            //mt.CreateTime = DateTimeHelper.GetNowTime();
            //mt.MsgType = MsgTypeEnum.TEXT;
            PlanningCertificateMsg pcMsg = new PlanningCertificateMsg();

            mt.Content = pcMsg.GetAttentionMsg();
            response   = mt.ToXml();
            return(response);
        }