|
@@ -34,7 +34,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
|
$model=new app\models\UploadExcel();
|
|
$model=new app\models\UploadExcel();
|
|
$form=ActiveForm::begin([
|
|
$form=ActiveForm::begin([
|
|
'id' => 'upload-excel',
|
|
'id' => 'upload-excel',
|
|
- 'action'=>'site/export?shop='.$shop,
|
|
|
|
|
|
+ 'action'=>'/site/export?shop='.$shop,
|
|
'method'=>'post',
|
|
'method'=>'post',
|
|
'options'=>[
|
|
'options'=>[
|
|
'enctype'=>'multipart/form-data',
|
|
'enctype'=>'multipart/form-data',
|