diff --git a/README.md b/README.md index e199c69..6e1d416 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ #### 演示网址 -[在线演示网址](http://ulthon-information.demo.ulthon.com/) +[在线演示网址](http://phpreturn.com/) #### 快速试用教程 diff --git a/app/admin/controller/Captcha.php b/app/admin/controller/Captcha.php new file mode 100644 index 0000000..7b9f11b --- /dev/null +++ b/app/admin/controller/Captcha.php @@ -0,0 +1,14 @@ +hits + 1; + + $model_post->save(); View::assign('post', $model_post); diff --git a/config/app.php b/config/app.php index 3bba167..f6994c2 100644 --- a/config/app.php +++ b/config/app.php @@ -22,7 +22,11 @@ return [ // 应用映射(自动多应用模式有效) 'app_map' => [], // 域名绑定(自动多应用模式有效) - 'domain_bind' => [], + 'domain_bind' => [ + 'admin'=>'admin', + '*'=>'index', + 'api'=>'api', + ], // 禁止URL访问的应用列表(自动多应用模式有效) 'deny_app_list' => [], diff --git a/view/admin/login/index.html b/view/admin/login/index.html index e7c66ea..ec52643 100644 --- a/view/admin/login/index.html +++ b/view/admin/login/index.html @@ -54,7 +54,7 @@