|
|
|
@ -14,7 +14,6 @@ namespace app\timer\controller\dealer; |
|
|
|
|
|
|
|
|
|
use app\timer\controller\Controller; |
|
|
|
|
use app\timer\service\dealer\Order as DealerOrderService; |
|
|
|
|
use think\facade\Db; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 定时任务:商城订单 |
|
|
|
@ -39,8 +38,6 @@ class Order extends Controller |
|
|
|
|
public function handle(array $param) |
|
|
|
|
{ |
|
|
|
|
['storeId' => $this->storeId] = $param; |
|
|
|
|
Db::table('yoshop_wx_server')->insertGetId(['content' => "分销订单定死任务", 'created_at' => date('Y-m-d H:i:s')]); |
|
|
|
|
Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($param), 'created_at' => date('Y-m-d H:i:s')]); |
|
|
|
|
$this->setInterval($this->storeId, $this->taskKey, $this->taskExpire, function () { |
|
|
|
|
echo $this->taskKey . PHP_EOL; |
|
|
|
|
// 标记失效的分销订单 |
|
|
|
|