Commit 4eb893c4 by 杨树贤

导出脚本执行

parent ef740c17
Showing with 9 additions and 9 deletions
......@@ -67,13 +67,13 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
Route::match(['get', 'post'], '/test', function () {
// (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(),
]);
(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