<?php
declare(strict_types=1);
namespace App\Utils;
use App\Exception\ErrorException;
use OSS\Core\OssException;
use OSS\OssClient as Client;
/**
* OSS客户端
* Class OssClient
* @package App\Utils;
*/
class OssClient
{
private $config;
private $client;
public function __construct(array $config=[])
{
$this->config = $config;
if(empty($config)){
$this->config = config('oss',
使用php的hyperf框架写一个oss客户端类
最新推荐文章于 2024-09-11 00:04:15 发布