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
0ddf7f59
authored
Jul 05, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
统计完成
parent
5c6b89e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
app/Http/Services/DataService.php
app/Http/Services/DataService.php
View file @
0ddf7f59
...
...
@@ -1308,14 +1308,14 @@ class DataService
$yunxinUploadSupplierCount
=
0
;
$esUrl
=
env
(
'ES_URL'
,
''
);
$map
=
[
"source
/eq
"
=>
7
,
"source"
=>
7
,
"supplier_id"
=>
17
,
"goods_status"
=>
1
,
];
$return
=
curl
(
$esUrl
,
$map
,
1
);
$return
=
curl
(
$esUrl
.
'/es/countZhuanmaiSource'
,
$map
,
1
);
$return
=
json_decode
(
$return
,
true
);
$yunxinUploadSupplierCount
=
0
;
if
(
isset
(
$return
[
'
error_code'
])
&
$return
[
'error_
code'
]
==
0
)
{
if
(
isset
(
$return
[
'
code'
])
&
$return
[
'
code'
]
==
0
)
{
$yunxinUploadSupplierCount
=
$return
[
'data'
][
'total'
];
}
...
...
@@ -1323,11 +1323,12 @@ class DataService
//去搜索直接获取
$url
=
env
(
'ES_SKU_URL'
,
''
);
$map
=
[
"source/eq"
=>
"7"
,
"source/eq"
=>
7
,
"supplier_id"
=>
17
,
"p"
=>
"1"
,
"offset"
=>
"20"
,
"show_status"
=>
1
"show_status"
=>
1
,
"goods_status/condition"
=>
1
,
];
$return
=
curl
(
$url
,
$map
,
1
);
$return
=
json_decode
(
$return
,
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