...
|
...
|
@@ -64,6 +64,7 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
public function batch_addPost(){
|
|
|
//上传excel文件
|
|
|
$file = $this->request->file('myfile');
|
|
|
dump($file);
|
|
|
//移到/public/uploads/excel/下
|
|
|
$info = $file->move(ROOT_PATH.'public'.DS.'upload'.DS.'excel');
|
|
|
//上传文件成功
|
...
|
...
|
|