0
0

Base.php 354 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace app\api\controller\h5;
  3. use think\Controller;
  4. class Base extends Controller
  5. {
  6. protected $middleware = ['WxAuth'];
  7. protected $userId;
  8. protected $orgId;
  9. protected function initialize()
  10. {
  11. parent::initialize();
  12. $this->userId = input('userId/d',0);
  13. $this->orgId = input('orgId/d',0);
  14. }
  15. }