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