|
|
@@ -3,8 +3,6 @@
|
|
|
namespace App\Providers;
|
|
|
|
|
|
use App\Http\Controllers\Controller;
|
|
|
-use App\Observers\OwnerObserver;
|
|
|
-use App\Owner;
|
|
|
use App\Services\AuthorityService;
|
|
|
use App\Services\BatchService;
|
|
|
use App\Services\CacheService;
|
|
|
@@ -12,8 +10,6 @@ use App\Services\CommodityService;
|
|
|
use App\Services\common\BatchUpdateService;
|
|
|
use App\Services\CommodityBarcodeService;
|
|
|
use App\Services\common\DataHandlerService;
|
|
|
-use App\Services\CustomerLogService;
|
|
|
-use App\Services\CustomerLogStatusService;
|
|
|
use App\Services\CustomerService;
|
|
|
use App\Services\DepositoryService;
|
|
|
use App\Services\FeatureService;
|
|
|
@@ -107,7 +103,6 @@ class AppServiceProvider extends ServiceProvider
|
|
|
public function boot()
|
|
|
{
|
|
|
$this->loadingService();
|
|
|
- $this->loadEvent();
|
|
|
//
|
|
|
Schema::defaultStringLength(191);
|
|
|
Queue::failing(function (JobFailed $event) {
|
|
|
@@ -200,13 +195,8 @@ class AppServiceProvider extends ServiceProvider
|
|
|
app()->singleton('WarehouseService',WarehouseService::class);
|
|
|
app()->singleton('WaybillFinancialService',WaybillFinancialService::class);
|
|
|
app()->singleton('WeighExceptedService',WeighExceptedService::class);
|
|
|
- app()->singleton('CustomerLogStatusService',CustomerLogStatusService::class);
|
|
|
- app()->singleton('CustomerLogService',CustomerLogService::class);
|
|
|
- app()->singleton('CustomerLogService',CustomerLogService::class);
|
|
|
- }
|
|
|
|
|
|
- private function loadEvent()
|
|
|
- {
|
|
|
- Owner::observe(OwnerObserver::class);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
}
|