chengwl 5 anos atrás
pai
commit
2625723308
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      views/site/index.php

+ 1 - 1
views/site/index.php

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