Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b9ef5f05
authored
Nov 06, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复数据
parent
2b71a03d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
app/Http/routes.php
app/Http/routes.php
View file @
b9ef5f05
...
@@ -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
));
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment