Explorar o código

增加拷贝oss文件信息接口

alexzy %!s(int64=4) %!d(string=hai) anos
pai
achega
271bfbd964
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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);
+
 }