|
|
@@ -67,6 +67,7 @@ use Illuminate\Support\Facades\DB;
|
|
|
use Illuminate\Support\Facades\Http;
|
|
|
use Illuminate\Support\Facades\URL;
|
|
|
use Illuminate\Support\Facades\Validator;
|
|
|
+use Laravel\Horizon\Events\JobFailed;
|
|
|
use PhpOffice\PhpSpreadsheet\Calculation\Web\Service;
|
|
|
|
|
|
class TestController extends Controller
|
|
|
@@ -84,58 +85,4 @@ class TestController extends Controller
|
|
|
{
|
|
|
return call_user_func([$this, $method], $request);
|
|
|
}
|
|
|
-
|
|
|
- public function test4()
|
|
|
- {
|
|
|
-
|
|
|
- $a = '185****1058';
|
|
|
- dd(str_replace('*','0',$a));
|
|
|
- }
|
|
|
-
|
|
|
- public function OwnerStoreFeeReportService_recordReport()
|
|
|
- {
|
|
|
- /** @var OwnerStoreFeeReportService $service */
|
|
|
- $service = app('OwnerStoreFeeReportService');
|
|
|
- $service->recordReport('2021-08-01');
|
|
|
- }
|
|
|
-
|
|
|
- public function OwnerStoreOutFeeReportService_recordReport()
|
|
|
- {
|
|
|
- /** @var OwnerStoreOutFeeReportService $service */
|
|
|
- $service = app('OwnerStoreOutFeeReportService');
|
|
|
- $service->recordReport('2021-08-01');
|
|
|
- }
|
|
|
-
|
|
|
- public function OwnerFeeTotalService_record()
|
|
|
- {
|
|
|
- /** @var OwnerFeeTotalService $service */
|
|
|
- $service = app('OwnerFeeTotalService');
|
|
|
- $service->record('2021-08-01');
|
|
|
- }
|
|
|
-
|
|
|
-//快递
|
|
|
- public function OwnerLogisticFeeReportService_record()
|
|
|
- {
|
|
|
- ini_set('max_execution_time', -1);
|
|
|
-
|
|
|
- /** @var OwnerLogisticFeeReportService $service */
|
|
|
- $service = app('OwnerLogisticFeeReportService');
|
|
|
- $service->recordReport('2021-08-01');
|
|
|
- }
|
|
|
-
|
|
|
- public function order_packages_sync_routes_flag_init()
|
|
|
- {
|
|
|
- OrderPackage::query()->whereNotNull('transfer_status')->update(['sync_routes_flag' => true]);
|
|
|
- }
|
|
|
-
|
|
|
- public function SettlementBillReportTask()
|
|
|
- {
|
|
|
- SettlementBillReportTask::dispatchNow('2021-08-01');
|
|
|
- }
|
|
|
-
|
|
|
- public function init_order_packages_status()
|
|
|
- {
|
|
|
- OrderPackage::query()->whereNotNull('received_at')->update(['status' => 14]);
|
|
|
- }
|
|
|
-
|
|
|
}
|