多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 插入队列 ![](https://img.kancloud.cn/48/ae/48aefc626a73e48d7a4d81ea33817319_648x231.png) ``` ~~~ $redis = new \Redis(); //$redis->connect('120.71.183.235', 7379); $redis->connect('127.0.0.1', 6379); //$redis->auth('sass'); $dd = $redis->lpush("order","{") ~~~ ``` ### 获取队列 ![](https://img.kancloud.cn/3b/11/3b116e5e473af9e06e0cce641fc7edd6_596x296.png) ``` ~~~ $redis = new \Redis(); $redis->connect('120.71.183.235', 7379); $redis->auth('sass'); $data = $redis ->lPop("order"); ~~~ ```