Initial project files: BESCMS full source
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php namespace Phpcmf\Controllers;
|
||||
|
||||
class Home extends \Phpcmf\Common
|
||||
{
|
||||
|
||||
/**
|
||||
* 用户中心首页
|
||||
*/
|
||||
public function index() {
|
||||
|
||||
// 接口请求时返回会员数据
|
||||
IS_API_HTTP && $this->_json(1, dr_lang('认证成功'), $this->member);
|
||||
|
||||
\Phpcmf\Service::V()->assign([
|
||||
'meta_title' => dr_lang('用户中心')
|
||||
]);
|
||||
\Phpcmf\Service::V()->display('index.html');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user