Commit b9ef5f05 by 杨树贤

修复数据

parent 2b71a03d
Showing with 1 additions and 2 deletions
...@@ -82,6 +82,5 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function () ...@@ -82,6 +82,5 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
}); });
Route::match(['get', 'post'], '/test', function () { Route::match(['get', 'post'], '/test', function () {
//(new \App\Http\Services\SyncSupplierService())->receiveEntityResult('华为投资控股有限公司', -1); \App\Model\SupplierChannelModel::whereIn('supplier_id', [15851, 15850])->update(['status' => 0]);
(new \App\Http\Services\SyncSupplierService())->syncSupplierToUnitedResult(json_decode('{"group_code":"G012179","source_sn":0,"company_name":"华为投资控股有限公司","init_nature":"原厂","company_nature":"原厂","company_category":"普通供应商"}',true));
}); });
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