|
|
@@ -7,8 +7,6 @@ use App\Jobs\LogisticSFSync;
|
|
|
use App\Jobs\LogisticYDSync;
|
|
|
use App\Jobs\LogisticYTOSync;
|
|
|
use App\Jobs\LogisticZopSync;
|
|
|
-use App\LaborCompany;
|
|
|
-use App\Observers\LaborCompanyObserver;
|
|
|
use App\Observers\OwnerObserver;
|
|
|
use App\Observers\UserWorkGroupObserver;
|
|
|
use App\Owner;
|
|
|
@@ -143,7 +141,6 @@ use App\Services\LogisticAliJiSuApiService;
|
|
|
use App\Services\CommodityMaterialBoxModelService;
|
|
|
use App\Services\OwnerLogisticFeeDetailService;
|
|
|
use App\Services\OwnerLogisticFeeReportService;
|
|
|
-use App\Services\LaborCompanyService;
|
|
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
|
{
|
|
|
@@ -236,7 +233,6 @@ class AppServiceProvider extends ServiceProvider
|
|
|
app()->singleton('LogisticZopService', LogisticZopService::class);
|
|
|
app()->singleton('InventoryCompareService', InventoryCompareService::class);
|
|
|
app()->singleton('InventoryDailyLogService', InventoryDailyLogService::class);
|
|
|
- app()->singleton('LaborCompanyService',LaborCompanyService::class);
|
|
|
app()->singleton('LaborReportsCountingRecordService', LaborReportsCountingRecordService::class);
|
|
|
app()->singleton('LogService', LogService::class);
|
|
|
app()->singleton('LogisticAliJiSuApiService',LogisticAliJiSuApiService::class);
|
|
|
@@ -331,20 +327,20 @@ class AppServiceProvider extends ServiceProvider
|
|
|
app()->singleton('HengLiWeightService',HengLiWeightService::class);
|
|
|
app()->singleton('InventoryAccountMissionService',InventoryAccountMissionService::class);
|
|
|
app()->singleton('MenuService',MenuService::class);
|
|
|
+ app()->singleton('RoleService',RoleService::class);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 快递同步接口 同步情况统计
|
|
|
- */
|
|
|
- private function logisticSyncRecord($displayName, $column_name): void
|
|
|
- {
|
|
|
-
|
|
|
private function registerObserver()
|
|
|
{
|
|
|
Owner::observe(OwnerObserver::class);
|
|
|
UserWorkgroup::observe(UserWorkGroupObserver::class);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 快递同步接口 同步情况统计
|
|
|
+ */
|
|
|
+ private function logisticSyncRecord($displayName, $column_name): void
|
|
|
+ {
|
|
|
/**
|
|
|
* @var OrderPackageReceivedSyncRecordService $orderPackageReceivedSyncRecordService
|
|
|
*/
|