Commit b0e45ed2 by mushishixian

fix

parent e36a3fdc
Showing with 6 additions and 3 deletions
...@@ -43,9 +43,12 @@ Route::group(['middleware' => ['web'], 'namespace' => 'Api'], function () { ...@@ -43,9 +43,12 @@ Route::group(['middleware' => ['web'], 'namespace' => 'Api'], function () {
Route::match(['get', 'post'], '/api/supplier_sync_log/{key}', 'SupplierSyncLogApiController@Entrance'); Route::match(['get', 'post'], '/api/supplier_sync_log/{key}', 'SupplierSyncLogApiController@Entrance');
}); });
Route::match(['get', 'post'], '/test', function () { Route::match(['get', 'post'], '/test', function () {
$service = new \App\Http\Services\DataService(); set_time_limit(0);
$service->exportSuppliers(); sleep(30);
$service->exportSupplierContact(); echo 123;
// $service = new \App\Http\Services\DataService();
// $service->exportSuppliers();
// $service->exportSupplierContact();
// $service->export(); // $service->export();
// $service->repairData(10); // $service->repairData(10);
// $service->completeContact(10); // $service->completeContact(10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment