From f7a1a302032f1d1d115cba6d969e184298c4ee75 Mon Sep 17 00:00:00 2001 From: zhongqiang <15375399426> Date: Mon, 23 Jun 2025 16:59:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=89=A9=E6=B5=81=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- express_tool/express_cache.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/express_tool/express_cache.go b/express_tool/express_cache.go index 18d3530..50a0354 100644 --- a/express_tool/express_cache.go +++ b/express_tool/express_cache.go @@ -6,7 +6,7 @@ import ( ) type ICacheAdapter interface { - Set(ctx context.Context, number string, res string, ttl time.Duration) error - Get(ctx context.Context, number string) (*ExpressRes, error) - Del(ctx context.Context, number string) error + Set(ctx context.Context, key string, res string, ttl time.Duration) error + Get(ctx context.Context, key string) (*ExpressRes, error) + Del(ctx context.Context, key string) error }