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