AuthController.php 1.2 KB

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