AuthController.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. namespace app\kefuapi\controller;
  12. use crmeb\basic\BaseController;
  13. /**
  14. * Class AuthController
  15. * @package app\kefuapi\controller
  16. */
  17. abstract class AuthController extends BaseController
  18. {
  19. /**
  20. * @var int
  21. */
  22. protected $kefuId;
  23. /**
  24. * @var array
  25. */
  26. protected $kefuInfo;
  27. /**
  28. * 初始化
  29. */
  30. protected function initialize()
  31. {
  32. $this->kefuId = $this->request->kefuId();
  33. $this->kefuInfo = $this->request->kefuInfo();
  34. }
  35. }