Files
ProxyPanel/app/Services/BaseService.php
兔姬桑 bc44fd9770 Client Api Alpha Release & Code Splitting
- 代码拆分,为客户端API,前后端分离做准备
- Client Api 对接 Alpha Release
- 规范WebApi格式

Update client.php
2024-06-27 22:17:50 +08:00

27 lines
408 B
PHP

<?php
namespace App\Services;
class BaseService
{
protected static $instance;
protected function __construct()
{
}
public static function getInstance()
{
if (static::$instance instanceof static) {
return self::$instance;
}
static::$instance = new static();
return self::$instance;
}
protected function __clone()
{
}
}