Commit ef740c17 by 杨树贤

跑数据

parents 56f22fca 35ae9ef1
Showing with 9 additions and 1 deletions
......@@ -67,5 +67,13 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
Route::match(['get', 'post'], '/test', function () {
(new \App\Http\Services\DataService())->exportSupplierBySourceType();
// (new \App\Http\Services\DataService())->exportSupplierBySourceType();
\App\Model\SupplierChannelModel::where('supplier_name', '深圳市金开盛电子有限公司')->update([
'status' => 2,
'update_time' => time(),
]);
\App\Model\SupplierChannelModel::where('supplier_name', '厦门市三安集成电路有限公司')->update([
'status' => 2,
'update_time' => time(),
]);
});
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