rabin 3 тижнів тому
батько
коміт
2f0feccb77
1 змінених файлів з 1 додано та 1 видалено
  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);