You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AuthController.php 549B

2 years ago
123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace app\controller\kefu;
  3. use app\Request;
  4. use crmeb\basic\BaseController;
  5. /**
  6. * Class AuthController
  7. * @package app\kefuapi\controller
  8. * @property Request $request
  9. */
  10. abstract class AuthController extends BaseController
  11. {
  12. /**
  13. * @var int
  14. */
  15. protected $kefuId;
  16. /**
  17. * @var array
  18. */
  19. protected $kefuInfo;
  20. /**
  21. * 初始化
  22. */
  23. protected function initialize()
  24. {
  25. $this->kefuId = $this->request->kefuId();
  26. $this->kefuInfo = $this->request->kefuInfo();
  27. }
  28. }