From d7157b0071e7a41512ab08087e7e504da0c10b34 Mon Sep 17 00:00:00 2001 From: fengyuexingzi Date: Wed, 1 Nov 2017 20:27:45 +0800 Subject: [PATCH] modified: application/index/controller/Index.php modified: themes/blue/index_index.html --- application/index/controller/Index.php | 5 +++++ themes/blue/index_index.html | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/application/index/controller/Index.php b/application/index/controller/Index.php index debde4d..8611df5 100644 --- a/application/index/controller/Index.php +++ b/application/index/controller/Index.php @@ -42,5 +42,10 @@ class Index extends Base public function hello() { var_dump(input()); + if ($this->request->isAjax()) { + var_dump($this->request); + echo '
'; + } + return json_encode($this->request->method()); } } diff --git a/themes/blue/index_index.html b/themes/blue/index_index.html index f7762c5..648578b 100644 --- a/themes/blue/index_index.html +++ b/themes/blue/index_index.html @@ -2,10 +2,11 @@ + Title -
+

闭合标签

{tree:close time='$demo_time'/}
@@ -18,5 +19,15 @@ {$key}=>{$demo_name}
{/tree:open}
blue
+ \ No newline at end of file