소스 검색

获取质抵押订单列表

afa 4 달 전
부모
커밋
04b9cba66d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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{