Files
OMS/app/desktop/lib/site.php
2025-12-28 23:13:25 +08:00

29 lines
652 B
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
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
class desktop_site
{
/**
* 获取Info
* @return mixed 返回结果
*/
public function getInfo()
{
$info = app::get('desktop')->getConf('siteInfo');
$logoUrl = '';
if ($info['logoUrl']) {
list($logoUrl) = explode('|', $info['logoUrl']);
}
$info['logoUrl'] = $logoUrl;
base_kvstore::instance('menudefine')->fetch('version', $menuVer);
$info['menuVer'] = $menuVer?:'20240722000000';
return $info;
}
}