浏览代码

增加拷贝oss文件信息接口

alexzy 4 年之前
父节点
当前提交
271bfbd964
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      src/AliOssServiceInterface.php

+ 9 - 0
src/AliOssServiceInterface.php

@@ -32,4 +32,13 @@ interface AliOssServiceInterface
      */
     public function getObjectMeta(string $object);
 
+    /**
+     * 拷贝OSS文件
+     *
+     * @param string $object
+     * @param string $new_object
+     * @return mixed
+     */
+    public function copyObject(string $object, string $new_object);
+
 }