Commit db83c8af authored by wwccw0591's avatar wwccw0591

pc

parent 68c0a290
...@@ -11,7 +11,7 @@ class ApiConst ...@@ -11,7 +11,7 @@ class ApiConst
const randLengh = 8; const randLengh = 8;
//10天数秒 //10天数秒
const tenDaySecond = 86400; const tenDaySecond = 864000;
//const tenDaySecond = 300; //const tenDaySecond = 300;
//一天 //一天
const oneDaySecond = 86400; const oneDaySecond = 86400;
......
...@@ -140,7 +140,7 @@ class OrderGoodsModel extends \DAO\AbstractModel { ...@@ -140,7 +140,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]['isRefund']==ApiConst::refundSuccess){ 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