浏览代码

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

Karson 5 年之前
父节点
当前提交
aa5d413cc0
共有 1 个文件被更改,包括 0 次插入14 次删除
  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()