Эх сурвалжийг харах

创建上传oss临时凭证

alexzy 3 жил өмнө
parent
commit
3eec780510

+ 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;
+}