From 301e930a880de5d49f5b507386679db8056cdc1b Mon Sep 17 00:00:00 2001 From: listen <494177603@qq.com> Date: Sat, 10 Jul 2021 10:40:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- redis.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redis.proto b/redis.proto index 23a0bd8..b81d559 100644 --- a/redis.proto +++ b/redis.proto @@ -77,4 +77,6 @@ service RedisService { rpc HDel (HDelRequest) returns (DelResponse); rpc SetExpire (SetExpireRequest) returns (SetExpireResponse); //设置有效期 rpc HGetAll(GetRequest) returns (HGetListResponse); //get hash all + rpc HExists(HGetRequest) returns (DelResponse); //hash键是否存在 + rpc Exists(GetRequest) returns (DelResponse); //键是否存在 } \ No newline at end of file