Commit df20c204 by 杨树贤

删除云芯账号

parent 88151be7
...@@ -1233,4 +1233,9 @@ class DataService ...@@ -1233,4 +1233,9 @@ class DataService
} }
dd(count((array_column($stockInItems,'stock_in_item_id')))); dd(count((array_column($stockInItems,'stock_in_item_id'))));
} }
public function deleteSupplierAccount()
{
SupplierAccountModel::where('id', 54)->delete();
}
} }
\ No newline at end of file
...@@ -67,7 +67,7 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function () ...@@ -67,7 +67,7 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
}); });
Route::match(['get', 'post'], '/test', function () { Route::match(['get', 'post'], '/test', function () {
(new \App\Http\Services\DataService())->getDeletedSZStockInItemList(); (new \App\Http\Services\DataService())->deleteSupplierAccount();
// \App\Model\SupplierChannelModel::where('supplier_name', '深圳市金开盛电子有限公司')->update([ // \App\Model\SupplierChannelModel::where('supplier_name', '深圳市金开盛电子有限公司')->update([
// 'status' => 2, // 'status' => 2,
// 'update_time' => time(), // '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