1234567891011121314151617181920 |
- <?php
- namespace app\api\controller\inspection;
- use app\common\controller\InspectionApi;
- class Base extends InspectionApi
- {
- protected $noNeedLogin = [];
- protected $noNeedRight = ['*'];
- protected $application = null;
- //设置返回的会员字段
- protected $allowFields = ['id', 'username', 'nickname', 'mobile', 'avatar', 'score', 'level', 'bio', 'balance', 'money', 'gender'];
- public function _initialize()
- {
- parent::_initialize();
- }
- }
|