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
4eb893c4
authored
May 17, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
导出脚本执行
parent
ef740c17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
app/Http/routes.php
app/Http/routes.php
View file @
4eb893c4
...
...
@@ -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(),
//
]);
});
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