diff --git a/application/index/controller/Help.php b/application/index/controller/Help.php index 0078374..f7caa8f 100644 --- a/application/index/controller/Help.php +++ b/application/index/controller/Help.php @@ -9,12 +9,15 @@ namespace app\index\controller; class Help extends Base { public function index(){ - $this->display(); + return $this->fetch(); } public function pro1(){ - $this->display(); + return $this->fetch(); } public function pro2(){ - $this->display(); + return $this->fetch(); + } + public function pro3(){ + return $this->fetch(); } } \ No newline at end of file diff --git a/application/index/controller/Product.php b/application/index/controller/Product.php index 3fb7dd3..0b2d0ea 100644 --- a/application/index/controller/Product.php +++ b/application/index/controller/Product.php @@ -10,7 +10,7 @@ namespace app\index\controller; class Product extends Base { public function index(){ $this->assign('pro',config('PROVINCE')); - $this->display(); + return $this->fetch(); } public function buy(){ $data = $this->request->post(); diff --git a/application/index/controller/User.php b/application/index/controller/User.php index 204953b..72d70cc 100644 --- a/application/index/controller/User.php +++ b/application/index/controller/User.php @@ -112,7 +112,7 @@ class User extends Base { $this->success('注册成功!', url('User/index'), true); } }else{ - $this->display(); + return $this->fetch(); } } @@ -140,7 +140,7 @@ class User extends Base { $this->success('密码重置成功!', url('User/index'), true); } }else{ - $this->display(); + return $this->fetch(); } } diff --git a/application/index/view/help/pro2.html b/application/index/view/help/pro2.html index 1c318a9..b34498f 100644 --- a/application/index/view/help/pro2.html +++ b/application/index/view/help/pro2.html @@ -1,5 +1,5 @@ {extend name="help/base" /} -{block name="myContent"> +{block name="content"}
帮助用户进行先前设定。
diff --git a/application/index/view/help/pro3.html b/application/index/view/help/pro3.html index 1c318a9..b34498f 100644 --- a/application/index/view/help/pro3.html +++ b/application/index/view/help/pro3.html @@ -1,5 +1,5 @@ {extend name="help/base" /} -{block name="myContent"> +{block name="content"}帮助用户进行先前设定。
diff --git a/application/index/view/index/index.html b/application/index/view/index/index.html index 54f3250..bebc697 100644 --- a/application/index/view/index/index.html +++ b/application/index/view/index/index.html @@ -36,7 +36,7 @@{$vo['proName']} | -已购买 | 立即下载 | -已下载 | 购买正式版 | -已经购买 | -等待审核 | -{$vo['addTime'] | date='Y-m-d H:i:s',###} |