diff --git a/redis.proto b/redis.proto index b81d559..7f0894c 100644 --- a/redis.proto +++ b/redis.proto @@ -79,4 +79,5 @@ service RedisService { rpc HGetAll(GetRequest) returns (HGetListResponse); //get hash all rpc HExists(HGetRequest) returns (DelResponse); //hash键是否存在 rpc Exists(GetRequest) returns (DelResponse); //键是否存在 + rpc HIncrby(GetRequest) returns (DelResponse); //hash数值+-1 } \ No newline at end of file