redis中几个基本的全局命令 keys:用来查看匹配规则的key exists:用来判定指定key是否存在 del:删除指定的key expire:给key设置过期时间 ttl:查询key的过期时间 type:查询key对应的value的类型