//获取 Cache::store('redis')->get('wx:business_token'); //删除 Cache::store('redis')->rm('wx:business_token'); //添加 $text = '123456'; Cache::store('redis')->set('wx:business_token', $text, 7000);//添加
tp5操作redis
最新推荐文章于 2024-05-05 17:46:19 发布
//获取 Cache::store('redis')->get('wx:business_token'); //删除 Cache::store('redis')->rm('wx:business_token'); //添加 $text = '123456'; Cache::store('redis')->set('wx:business_token', $text, 7000);//添加