@@ -17,17 +17,6 @@ use think\Exception;
*/
class Timedtask
{
-
- public function test(){
- $redis = new Redis();
- //存入reids list
- $redis_data = ['hash'=>'bb476912415e6d5d43bc5d15036118fbbb44b3e3e768beb3ae7d625bfe080505','create_at'=>date('Y-m-d H:i:s')];
- $redis->rPush('collectionHash_12',json_encode($redis_data));
- }
/**
* @title 取消订单定时任务
* @desc 未支付的自动取消