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

use app\hander\HelpHander;
use think\Controller;

class Base extends Controller
{
    protected $orgId;

    protected function initialize()
    {
        parent::initialize();
//        halt(think_encrypt(33));
        //MDAwMDAwMDAwMLCtrqM
        $this->orgId = think_decrypt(input('orgId/d','MDAwMDAwMDAwMLCtrqM','trim'));

        if($this->orgId <= 0){
            HelpHander::error("参数错误");
        }

    }

}