how do you tp5 encapsulate the extension function of redis? Because there are only simple functions of set and get by default, guide me.
how do you tp5 encapsulate the extension function of redis? Because there are only simple functions of set and get by default, guide me.
$cache = Cache::init();
//
$redis = $cache->handler();
$redis->hmset();
$redis->lpop();
Previous: How to build a pop-up window component with Vue to realize queue mechanism and automatic destruction
Next: The problem of adding hyperlinks to echarts tree text?
1. There is no problem with testing the code locally 2. When you turn on php think queue:listen on the server, there is no response or error message, as if nothing has been moved. 3. However, you can insert a new task queue, but do not execute to the s...