为接口开发做的基础
This commit is contained in:
23
application/api/controller/User.php
Normal file
23
application/api/controller/User.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace app\Api\controller;
|
||||
use app\common\controller\Api;
|
||||
|
||||
class User extends Api {
|
||||
|
||||
public function login(){
|
||||
//$this->data['code'] = 1;
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
public function getuser(){
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user