<?php namespace app\api\controller; use app\common\controller\Api; use think\Db; /** * 用户中心 */ class Usercenter extends Api { protected $noNeedLogin = []; protected $noNeedRight = ['*']; }