Commit 35ddbaf6 authored by wwccw0591's avatar wwccw0591

goodsNums

parent 7f9fcf63
...@@ -186,7 +186,7 @@ class OrderGoodsModel extends \DAO\AbstractModel { ...@@ -186,7 +186,7 @@ class OrderGoodsModel extends \DAO\AbstractModel {
public function getGoodsCount($orderGoods){ public function getGoodsCount($orderGoods){
return count(array_sum(array_column($orderGoods, 'goodsNum'))); return array_sum(array_column($orderGoods, 'goodsNum'));
} }
public function getRefundOrderGoods($orderGoods){ public function getRefundOrderGoods($orderGoods){
......
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