Browse Source

增加获取oss文件信息接口

alexzy 4 years ago
parent
commit
f66360c865
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/AliOssServiceInterface.php

+ 9 - 0
src/AliOssServiceInterface.php

@@ -23,4 +23,13 @@ interface AliOssServiceInterface
      * @return mixed
      */
     public function makeSignUrl(string $object, int $time_out = 20);
+
+    /**
+     * 获取文件的元数据信息
+     *
+     * @param string $object
+     * @return mixed
+     */
+    public function getObjectMeta(string $object);
+
 }