数据不对
This commit is contained in:
parent
428ee0f429
commit
953210ea9f
@ -2698,11 +2698,13 @@ class StoreOrderRepository extends BaseRepository
|
||||
if (!empty($products)) {
|
||||
$list = $this->findNearestPriceProduct($products, $money, $minNum);
|
||||
}
|
||||
$count = count($list);//计算数量的
|
||||
if(empty($list) && $baseList){
|
||||
$list = $this->findProductByPrice($money,$baseList);
|
||||
$count = count($list);//计算数量的
|
||||
}
|
||||
|
||||
$count = count($list);//计算数量的
|
||||
|
||||
}
|
||||
return [
|
||||
'count' => $count,
|
||||
|
Loading…
x
Reference in New Issue
Block a user