feat: 同步下新环境

This commit is contained in:
2025-07-07 11:31:25 +08:00
parent 3d1050db3d
commit 86c261ba70
196 changed files with 13146 additions and 29319 deletions

View File

@@ -13,19 +13,12 @@ namespace think\config\driver;
class Json
{
protected $config;
public function __construct($config)
public function parse($config)
{
if (is_file($config)) {
$config = file_get_contents($config);
}
$this->config = $config;
}
public function parse()
{
return json_decode($this->config, true);
$result = json_decode($config, true);
return $result;
}
}