rabin 1 年之前
父节点
当前提交
3b1c137c47
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
     }
 
     # 插入数据