chengwl 5 년 전
부모
커밋
2625723308
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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',