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
ef740c17
authored
May 17, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
跑数据
parents
56f22fca
35ae9ef1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
app/Http/routes.php
app/Http/routes.php
View file @
ef740c17
...
...
@@ -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
(),
]);
});
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