Commit 0ddf7f59 by 杨树贤

统计完成

parent 5c6b89e5
Showing with 6 additions and 5 deletions
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment