From d74f10e158c6d5c7b7247d73ea8fafd2b490a080 Mon Sep 17 00:00:00 2001 From: Devil Date: Fri, 27 Nov 2020 14:14:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E7=A7=AF=E5=88=86=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E6=A8=A1=E5=9D=97=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Userintegral.php | 2 +- public/nginx.htaccess | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 public/nginx.htaccess diff --git a/application/index/controller/Userintegral.php b/application/index/controller/Userintegral.php index 4a95fb375..621ed5f64 100755 --- a/application/index/controller/Userintegral.php +++ b/application/index/controller/Userintegral.php @@ -58,7 +58,7 @@ class UserIntegral extends Common 'total' => $total, 'where' => $this->data_request, 'page' => $this->page, - 'url' => MyUrl('admin/userintegral/index'), + 'url' => MyUrl('index/userintegral/index'), ]; $page = new \base\Page($page_params); diff --git a/public/nginx.htaccess b/public/nginx.htaccess new file mode 100644 index 000000000..9778694c9 --- /dev/null +++ b/public/nginx.htaccess @@ -0,0 +1,5 @@ +location / { + if (!-e $request_filename) { + rewrite ^(.*)$ /index.php?s=/$1 last; + } +} \ No newline at end of file