test_lgq/niucloud/app/service/api/sys/ConfigService.php
2024-01-24 17:36:08 +08:00

60 lines
1.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// +----------------------------------------------------------------------
// | Niucloud-admin 企业快速开发的saas管理平台
// +----------------------------------------------------------------------
// | 官方网址https://www.niucloud-admin.com
// +----------------------------------------------------------------------
// | niucloud团队 版权所有 开源版本可自由商用
// +----------------------------------------------------------------------
// | Author: Niucloud Team
// +----------------------------------------------------------------------
namespace app\service\api\sys;
use app\service\core\sys\CoreSysConfigService;
use core\base\BaseApiService;
/**
* 配置服务层
* Class ConfigService
* @package app\service\core\sys
*/
class ConfigService extends BaseApiService
{
//系统配置文件
public function __construct()
{
parent::__construct();
}
/**
* 获取版权信息(网站整体,不按照站点设置)
* @return array|mixed
*/
public function getCopyright()
{
return (new CoreSysConfigService())->getCopyright();
}
/**
* 获取前端域名
* @return array|string[]
*/
public function getSceneDomain(){
return (new CoreSysConfigService())->getSceneDomain($this->site_id);
}
/**
* 获取手机端首页列表
* @param $data
* @return array
*/
public function getWapIndexList($data)
{
return ( new CoreSysConfigService() )->getWapIndexList($data);
}
}