test_lgq/niucloud/core/base/BaseAdminService.php

36 lines
1.1 KiB
PHP
Raw Normal View History

2024-01-24 17:36:08 +08:00
<?php
// +----------------------------------------------------------------------
// | Niucloud-admin 企业快速开发的saas管理平台
// +----------------------------------------------------------------------
// | 官方网址https://www.niucloud-admin.com
// +----------------------------------------------------------------------
// | niucloud团队 版权所有 开源版本可自由商用
// +----------------------------------------------------------------------
// | Author: Niucloud Team
// +----------------------------------------------------------------------
namespace core\base;
/**
* 后台基础服务层
* Class BaseAdminService
* @package app\service\admin
*/
class BaseAdminService extends BaseService
{
protected $site_id;
protected $username;
protected $uid;
protected $app_type;
public function __construct()
{
parent::__construct();
$this->app_type = $this->request->appType();
$this->site_id = $this->request->siteId();
$this->username = $this->request->username();
$this->uid = $this->request->uid();
}
}