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
c1c62c70
authored
Aug 24, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
c9bef929
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Http/Services/DataService.php
app/Http/Services/DataService.php
View file @
c1c62c70
...
@@ -266,7 +266,7 @@ class DataService
...
@@ -266,7 +266,7 @@ class DataService
public
function
pushSupplierSKu
()
public
function
pushSupplierSKu
()
{
{
$supplierModel
=
new
SupplierChannelModel
();
$supplierModel
=
new
SupplierChannelModel
();
$suppliers
=
$supplierModel
->
where
(
'is_type'
,
0
)
->
where
(
'supplier_group'
,
4
)
->
limit
(
10
)
->
get
()
->
toArray
();
$suppliers
=
$supplierModel
->
where
(
'is_type'
,
0
)
->
where
(
'supplier_group'
,
4
)
->
get
()
->
toArray
();
$redis
=
new
RedisModel
();
$redis
=
new
RedisModel
();
foreach
(
$suppliers
as
$supplier
)
{
foreach
(
$suppliers
as
$supplier
)
{
$supplierTag
=
$redis
->
hget
(
'supplier_search_tags'
,
$supplier
[
'supplier_code'
]);
$supplierTag
=
$redis
->
hget
(
'supplier_search_tags'
,
$supplier
[
'supplier_code'
]);
...
...
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