/// <summary> /// 判断该微帐号与原始Id号是否一致,如果不一致,则返回false,如果一致则返回true /// </summary> /// <param name="apiid"></param> /// <param name="wxid">原始Id号</param> /// <returns></returns> public bool ExistApiidAndWxId(int apiid, string wxid) { bool exists = true; DAL.wx_userweixin weixinDal = new DAL.wx_userweixin(); if (weixinDal.ExistsWidAndWxId(apiid, wxid)) { exists = true; } else { exists = false; } return exists; }
/// <summary> /// 判断该微帐号与原始Id号是否一致,如果不一致,则返回false,如果一致则返回true /// </summary> /// <param name="apiid"></param> /// <param name="wxid">原始Id号</param> /// <returns></returns> public bool ExistApiidAndWxId(int apiid, string wxid) { bool exists = true; DAL.wx_userweixin weixinDal = new DAL.wx_userweixin(); if (weixinDal.ExistsWidAndWxId(apiid, wxid)) { exists = true; } else { exists = false; } return(exists); }
/// <summary> /// 判断微账号是否关闭了自动回复 /// </summary> /// <param name="wid"></param> /// <returns></returns> public bool wxCloseKW(int wid) { DAL.wx_userweixin weixinDal = new DAL.wx_userweixin(); return(weixinDal.wxCloseKW(wid)); }
/// <summary> /// 判断微账号是否有效 /// </summary> /// <param name="wid"></param> /// <returns></returns> public bool wxCodeLegal(int wid) { DAL.wx_userweixin weixinDal = new DAL.wx_userweixin(); return(weixinDal.wxCodeLegal(wid)); }