Browse Source

update application/index/controller/User.php.
移除空请求判断

Karson 5 years ago
parent
commit
aa5d413cc0
1 changed files with 0 additions and 14 deletions
  1. 0 14
      application/index/controller/User.php

+ 0 - 14
application/index/controller/User.php

@@ -52,20 +52,6 @@ class User extends Frontend
     }
     }
 
 
     /**
     /**
-     * 空的请求
-     * @param $name
-     * @return mixed
-     */
-    public function _empty($name)
-    {
-        $data = Hook::listen("user_request_empty", $name);
-        foreach ($data as $index => $datum) {
-            $this->view->assign($datum);
-        }
-        return $this->view->fetch('user/' . $name);
-    }
-
-    /**
      * 会员中心
      * 会员中心
      */
      */
     public function index()
     public function index()