Commit 69f7a326 authored by christ's avatar christ

退款退货

parent 50eb147c
...@@ -158,7 +158,7 @@ class OrderGoodsModel extends \DAO\AbstractModel { ...@@ -158,7 +158,7 @@ class OrderGoodsModel extends \DAO\AbstractModel {
public function getRefundOrderGoodsIds($orderGoods){ public function getRefundOrderGoodsIds($orderGoods){
$orderGoods=array_values($orderGoods); $orderGoods=array_values($orderGoods);
for($i=ApiConst::zero;$i<count($orderGoods);$i++){ for($i=ApiConst::zero;$i<count($orderGoods);$i++){
if($orderGoods[$i]['refundId']==ApiConst::zero){ if($orderGoods[$i]['refundId']!=ApiConst::zero){
unset($orderGoods[$i]); unset($orderGoods[$i]);
} }
} }
......
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