コード例 #1
0
        /// <summary>
        /// 判断是否存在购物车
        /// </summary>
        /// <param name="custmoerId"></param>
        /// <returns></returns>
        public bool IsExistenceCart(int custmoerId)
        {
            string key = "ShopCart_" + custmoerId.ToString();

            return(_IRedisServer.KeyExists(key));
        }