first commit
This commit is contained in:
31
application/mobile/controller/User.php
Normal file
31
application/mobile/controller/User.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
// +------------------------------------------------+
|
||||
// |http://www.cjango.com |
|
||||
// +------------------------------------------------+
|
||||
// | 修复BUG不是一朝一夕的事情,等我喝醉了再说吧! |
|
||||
// +------------------------------------------------+
|
||||
// | Author: 小陈叔叔 <Jason.Chen> |
|
||||
// +------------------------------------------------+
|
||||
namespace app\mobile\controller;
|
||||
|
||||
use app\common\model\Member as MemberModel;
|
||||
|
||||
class User extends _Init
|
||||
{
|
||||
|
||||
public function _initialize()
|
||||
{
|
||||
parent::_initialize();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->info = MemberModel::get($uid);
|
||||
return $this->fetch('user_' . $this->info->index_tpl);
|
||||
}
|
||||
|
||||
public function intro()
|
||||
{
|
||||
return $this->fetch();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user