|
|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use App\Notifications\CustomerOrderCreated;
|
|
|
|
|
use App\Notifications\RechargePaid;
|
|
|
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
|
use Illuminate\Support\Facades\Request;
|
|
|
|
|
@ -26,6 +27,9 @@ class Notifications extends CommonModel
|
|
|
|
|
$title = "有一笔新的收款到账,请注意查看。";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case CustomerOrderCreated::class:
|
|
|
|
|
$title = "有用户通过小程序进行了下单,订单编号:{$data["oder_serial"]},请注意及时处理。";
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
$title = "创建于{$this->created_at}的通知";
|
|
|
|
|
}
|
|
|
|
|
|