Beispiel #1
0
        /// <summary>
        /// 缓存钉钉access_token
        /// </summary>
        private static void SaveDingTalkAccessTokenCache(string key, DingTalkAccessToken token)
        {
            var data = token.ToJSON();

            RedisHelper.Set(key, data, token.exptime);
        }