Commit cd45eb95 authored by zhz's avatar zhz

goods

parent 26f95ff0
...@@ -975,6 +975,9 @@ class GoodsCommonServiceModel extends \Business\AbstractModel ...@@ -975,6 +975,9 @@ class GoodsCommonServiceModel extends \Business\AbstractModel
if($arr) { if($arr) {
foreach ($arr as $v) { foreach ($arr as $v) {
$commonIds[] = $v; $commonIds[] = $v;
if(count($commonIds) == 4) {
break;
}
} }
} }
//$commonIds = array_merge($arr,$commonIds); //$commonIds = array_merge($arr,$commonIds);
......
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 to comment