示例#1
0
 public static async Task UpdateCacheAsync(long userId, string name, CommandUsage usage)
 {
     string key = $"commandusage:{userId}:{name}";
     await Global.RedisClient.UpsertAsync(key, usage);
 }