12345678910111213141516171819 |
- <?php
- namespace app\api\controller\dinner;
- use think\Controller;
- class BaseDinner extends Controller
- {
- protected $middleware = ['AuthDinner'];
- protected $userId;
- protected function initialize()
- {
- parent::initialize();
- $this->userId = input('userId/d',0);
- }
- }
|