<?php
namespace app\api\controller\h5;

use think\Controller;

class Base extends Controller
{
    protected $middleware = ['WxAuth'];

    protected $userId;

    protected $orgId;

    protected function initialize()
    {
        parent::initialize();

        $this->userId = input('userId/d',0);
        $this->orgId = input('orgId/d',0);

    }

}