// +---------------------------------------------------------------------- namespace app\controller\kefu; use app\Request; use crmeb\basic\BaseController; /** * Class AuthController * @package app\kefuapi\controller * @property Request $request */ abstract class AuthController extends BaseController { /** * @var int */ protected $kefuId; /** * @var array */ protected $kefuInfo; /** * 初始化 */ protected function initialize() { $this->kefuId = $this->request->kefuId(); $this->kefuInfo = $this->request->kefuInfo(); } }