Browse Source

获取质抵押订单列表

afa 4 tháng trước cách đây
mục cha
commit
04b9cba66d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      application/api/logic/PledgeLogic.php

+ 2 - 1
application/api/logic/PledgeLogic.php

@@ -84,7 +84,8 @@ class PledgeLogic
         $growth= 0; //增长累计收益
         $result = [];
         foreach ($list as $item) {
-            if($item->end_time <  $time){
+            if($item->end_time >  $time){
+            
                 if($item->status == $model::Remove) {
                     $total += $item->total_self;
                 }else{