...
|
...
|
@@ -154,9 +154,9 @@ class Registers extends Backend |
|
|
} else {
|
|
|
$reader = new Xlsx();
|
|
|
}
|
|
|
|
|
|
//导入文件首行类型,默认是注释,如果需要使用字段名称请使用name
|
|
|
$importHeadType = isset($this->importHeadType) ? $this->importHeadType : 'comment';
|
|
|
var_dump($importHeadType);exit;
|
|
|
$table = $this->model->getQuery()->getTable();
|
|
|
$database = \think\Config::get('database.database');
|
|
|
$fieldArr = [];
|
...
|
...
|
|