diff --git a/code/app/Jobs/NotifyRemindOrder.php b/code/app/Jobs/NotifyRemindOrder.php index d087d07d..458543ec 100644 --- a/code/app/Jobs/NotifyRemindOrder.php +++ b/code/app/Jobs/NotifyRemindOrder.php @@ -24,6 +24,9 @@ public function __construct($orders_id) public function handle() { + $hub = app()->make('GlobalScopeHub'); + $gas = $hub->getGasObj(); + $aggregate_users = []; foreach($this->orders_id as $order_id) {