Core.php 259 B

12345678910111213141516
  1. <?php
  2. namespace Main\Lib;
  3. use Dever;
  4. class Core
  5. {
  6. protected $checkUser = false;
  7. protected $data;
  8. public function __construct()
  9. {
  10. # 获取用户信息
  11. $this->user = Dever::load('passport/user')->init();
  12. }
  13. }