src/Upyun/UpyunAdapter.php
public function write($path, $contents, Config $config)
    {
        return $this->getUpyun()->writeFile($this->mergePath($path), $contents, $auto_mkdir = true);
    }
public function write($path, $contents, Config $config)
    {
        return $this->getUpyun()->writeFile($this->mergePath($path), $contents, $auto_mkdir = true);
    }
写入文件

@param $file_name
@param $contents
@author yangyifan <yangyifanphp@gmail.com>