public function __construct($config) { $this->config = array_merge($this->config, $config); /* 设置根目录 */ $this->qiniu = new QiniuStorage($config); }