public void RemoveAccessToken() { string _cachekey = "GetWeChatAccessToken"; MemCache.RemoveCache(_cachekey); string appid = WeiXinConfig.GetAppId(); WeChatTokenLogBLL.Instance.RemoveTokenByAppid(appid); }
public int UpdateRolesToMemId(int _memid, string roleids) { int raid = MemRoleRelateDA.Instance.AddRolesToMem(_memid, roleids); if (raid > 0) { MemCache.RemoveCache("GetAuthByMemId_" + _memid); } return(raid); }