rabin 3 weeks ago
parent
commit
2f0feccb77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Lib/Import/Core.php

+ 1 - 1
app/Lib/Import/Core.php

@@ -41,7 +41,7 @@ class Core
     # 更新数据
     public function up($table, $id, $data)
     {
-        $db = Dever::db('area/ ' .$table);
+        $db = Dever::db('area/' .$table);
         $info = $db->find($id);
         if (!$info) {
             $db->insert($data);