etcd_clientclientlease_grant本页总览lease_grant 获取租约 声明 array lease_grant(int seconds, int id = 0) 参数 参数名描述seconds租约时长(秒)id租约标识(默认为0) 返回值 [ 操作是否成功, 租约ID ] 使用方式 返回文档