1234567891011121314151617181920 |
- <?php
- namespace app\common\controller;
- use think\Loader;
- /**
- * API控制器基类
- */
- class SenderApi extends Api
- {
- protected function _initialize()
- {
- parent::_initialize(); // TODO: Change the autogenerated stub
- /*$user=$this->auth->getUser();
- if($user && $user['type']!=$user::SENDER){
- $this->error('You have no permission for sender');
- }*/
- }
- }
|