rabin 1 year ago
parent
commit
3b1c137c47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Relation.php

+ 1 - 1
lib/Relation.php

@@ -160,7 +160,7 @@ class Relation
             $method = 'getChild';
         }
         
-        return Dever::db(Dever::config('base')->invite)->$method($where);
+        return Dever::db($this->table)->$method($where);
     }
 
     # 插入数据