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