public async Task <IActionResult> InsertRedis(string key, string value) { bool result = await service.AddString(key, value); if (result) { return(Success()); } else { return(Fail("保存失败")); } }