初始化仓库

This commit is contained in:
2024-09-19 11:32:39 +08:00
commit 8f5315e936
921 changed files with 76455 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace common\core;
use common\models\Mall;
use yii\base\Exception;
/**
* Trait Application
* @package common\core
*/
trait Application
{
private $hostInfo;
private $baseUrl;
public function getHostInfo()
{
if ($this->hostInfo) {
return $this->hostInfo;
}
return '';
}
public function setHostInfo($hostInfo)
{
$this->hostInfo = $hostInfo;
}
public function getBaseUrl()
{
if ($this->baseUrl) {
return $this->baseUrl;
}
return '';
}
public function setBaseUrl($baseUrl)
{
$this->baseUrl = $baseUrl;
}
}