- key:表名+":"+字段名+":"+字段值 ,例“session:tid:xxxxxx”
- hashkey:字段名,例"session:tid:xxxxx" "prefer",key和hashkey遵从层级关系
- hash结构
- 例1:session:tid:xxxxx prefer
- 例2:country 10001
- 业务相关:"cache:"+变量名,例"cache:id_list"
- 接口相关:"api_cache:"+变量名+":"+接口名,例"api_cache:country:api10003"