瀏覽代碼

增加获取oss文件信息接口

alexzy 4 年之前
父節點
當前提交
f66360c865
共有 1 個文件被更改,包括 9 次插入0 次删除
  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);
+
 }