Ejemplo n.º 1
0
 public void GetIsMoreCS(string content)
 {
     try
     {
         WApplicationInterfaceBLL bll = new WApplicationInterfaceBLL(requestParams.LoggingSessionInfo);
         int     isMoreCs             = 0;
         DataSet wentity = bll.GetIsMoreCS(requestParams.LoggingSessionInfo.ClientID, requestParams.WeixinId);
         if (wentity != null && wentity.Tables[0].Rows.Count > 0)
         {
             isMoreCs = Convert.ToInt32(wentity.Tables[0].Rows[0]["IsMoreCS"].ToString());
             if (isMoreCs == 1)  //是否支持多客服
             {
                 ResponseTextMessage(requestParams.WeixinId, requestParams.OpenId, content, httpContext);
             }
         }
     }
     catch (Exception ex)
     {
         BaseService.WriteLogWeixin("异常信息:  " + ex.ToString());
     }
 }