rabin 3 years ago
parent
commit
30066e8697
2 changed files with 2 additions and 0 deletions
  1. 1 0
      service/agent/database/member_agreement.php
  2. 1 0
      service/agent/src/My.php

+ 1 - 0
service/agent/database/member_agreement.php

@@ -440,6 +440,7 @@ return array
             'option' => array
             (
                 'mid' => 'yes',
+                'status' => array('yes', 'in'),
                 'state' => 1,
             ),
             'type' => 'all',

+ 1 - 0
service/agent/src/My.php

@@ -923,6 +923,7 @@ class My extends Core
     public function getAgreement()
     {
         $where['mid'] = $this->uid;
+        $where['status'] = '1,2';
         $this->data['list'] = Dever::db('agent/member_agreement')->getAll($where);
 
         if ($this->data['list']) {