关于redis的使用

redis中写死验证码
set user_phone_157xxxxxxxx 888888

获取手机验证码:

get user_phone_157xxxxxxxx

命令解释:

./redis-cli -h 192.168.xx.xx -p 8888(-h表示IP,-p表示端口)

原文地址:https://www.cnblogs.com/lelexiong/p/9240104.html