Esempio n. 1
0
 /**
  * [info description] 用户个人信息查看
  * @Author   alanfang2012@163.com
  * @DateTime 2015-09-01T22:22:01+0800
  */
 public function info()
 {
     $user_id = session('user_id');
     $user_mod = new \Model\UserModel();
     $user_info = $user_mod->showInfo($user_id);
     $this->assign('user_info', $user_info);
     $this->display();
 }