Browse Source

创建上传oss临时凭证

alexzy 3 năm trước cách đây
mục cha
commit
3eec780510
2 tập tin đã thay đổi với 13 bổ sung8 xóa
  1. 0 8
      src/AliOssServiceInterface.php
  2. 13 0
      src/AliStsServiceInterface.php

+ 0 - 8
src/AliOssServiceInterface.php

@@ -48,12 +48,4 @@ interface AliOssServiceInterface
      * @return mixed
      */
     public function deleteObject($object): bool;
-
-    /**
-     * 创建OSS上传临时凭证
-     *
-     * @return array
-     */
-    public function createPutSTS(): array;
-
 }

+ 13 - 0
src/AliStsServiceInterface.php

@@ -0,0 +1,13 @@
+<?php
+
+namespace Yxy\Service;
+
+interface AliStsServiceInterface
+{
+    /**
+     * 创建OSS上传凭证
+     *
+     * @return array
+     */
+    public function createOssPut(): array;
+}