Commit 954df2aa by 杨树贤

修改接口

parent 0ad17123
...@@ -32,6 +32,7 @@ class SkuService ...@@ -32,6 +32,7 @@ class SkuService
$map = $filter->listFilter(); $map = $filter->listFilter();
$url = env('ES_SKU_URL', ''); $url = env('ES_SKU_URL', '');
$map['show_status'] = 1; $map['show_status'] = 1;
$map['no_rule'] = 1122;
$return = curl($url, $map, 1); $return = curl($url, $map, 1);
$data = json_decode($return, true); $data = json_decode($return, true);
......
...@@ -36,6 +36,7 @@ class SkuStatisticsService ...@@ -36,6 +36,7 @@ class SkuStatisticsService
private function getStatisticsCount($type) private function getStatisticsCount($type)
{ {
$url = env('ES_SKU_URL', ''); $url = env('ES_SKU_URL', '');
$map['no_rule'] = 1122;
$map['supplier_id'] = 17; $map['supplier_id'] = 17;
switch ($type) { switch ($type) {
case "all": case "all":
...@@ -55,4 +56,4 @@ class SkuStatisticsService ...@@ -55,4 +56,4 @@ class SkuStatisticsService
} }
return $total; return $total;
} }
} }
\ No newline at end of file
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