dever 3 년 전
부모
커밋
9008c11c11
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      service/option/lib/Agreement.php

+ 1 - 2
service/option/lib/Agreement.php

@@ -149,6 +149,7 @@ class Agreement
         $where['aid'] = $account['id'];
         $where['agreement_id'] = $agreement['id'];
         $where['jiaofu_total'] = $total;
+        $where['jiaofu_date'] = $date;
 
         $info = Dever::db('option/agreement')->find($where);
 
@@ -169,8 +170,6 @@ class Agreement
         $where['status'] = 1;
         $where['audit'] = 2;
 
-        $where['jiaofu_date'] = $date;
-
         $method = 'content_' . $agreement['type'];
 
         if ($info) {