コード例 #1
0
        public override IResponseMessageBase DefaultResponseMessage(Senparc.Weixin.QY.Entities.IRequestMessageBase requestMessage)
        {
            var responseMessage = this.CreateResponseMessage <ResponseMessageText>();

            responseMessage.Content = "这是一条没有找到合适回复信息的默认消息。";
            return(responseMessage);
        }
コード例 #2
0
        /// <summary>
        /// 默认消息回复
        /// </summary>
        /// <param name="requestMessage"></param>
        /// <returns></returns>
        public override Senparc.Weixin.QY.Entities.IResponseMessageBase DefaultResponseMessage(Senparc.Weixin.QY.Entities.IRequestMessageBase requestMessage)
        {
            var responseMessage = this.CreateResponseMessage <ResponseMessageText>();

            responseMessage.Content = "您的发送消息有误,请查看提示重新发送!。";
            return(responseMessage);
        }