예제 #1
0
        public void RemoveAccessToken()
        {
            string _cachekey = "GetWeChatAccessToken";

            MemCache.RemoveCache(_cachekey);
            string appid = WeiXinConfig.GetAppId();

            WeChatTokenLogBLL.Instance.RemoveTokenByAppid(appid);
        }
예제 #2
0
        public int UpdateRolesToMemId(int _memid, string roleids)
        {
            int raid = MemRoleRelateDA.Instance.AddRolesToMem(_memid, roleids);

            if (raid > 0)
            {
                MemCache.RemoveCache("GetAuthByMemId_" + _memid);
            }
            return(raid);
        }