| 12345678910111213141516171819202122 | <?phpnamespace app\api\controller;use think\Controller;class Base extends Controller{    protected $middleware = ['Auth'];    protected $userId;    protected $orgId;    protected function initialize()    {        parent::initialize();        $this->userId = input('userId/d',0);        $this->orgId = input('orgId/d',0);    }}
 |