Commit 1aabb7c3 by 刘剑华

update model

parent 1f41e208
......@@ -15,9 +15,8 @@ use app\api\controller\UnauthorizedException;
* 在具体资源方法中,不需要再依赖注入,直接调用$this->request返回为请具体信息的一个对象
* date:2017-07-25
*/
class User extends Controller
class User extends Api
{
use Send;
/**
* 允许访问的方式列表,资源数组如果没有对应的方式列表,请不要把该方法写上,如user这个资源,客户端没有delete操作
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment