rabin hace 3 años
padre
commit
1711f628e3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      service/option/lib/Account.php

+ 2 - 2
service/option/lib/Account.php

@@ -86,13 +86,13 @@ class Account
         }
     }
 
-    public function getAgreementStatus($id, $table = 'option/account')
+    public function getAgreementStatus($id, $table = 'option/agreement')
     {
         if ($id < 0) {
             return '无';
         }
         $audit = Dever::db($table)->config['audit'];
-        $agreement = Dever::db('option/agreement')->find(array('aid' => $id));
+        $agreement = Dever::db($table)->find(array('aid' => $id));
         if ($agreement) {
             $string = $audit[$agreement['audit']];
             if ($agreement['audit'] == 4) {