AliOssServiceInterface.php 443 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Yxy\Service;
  3. interface AliOssServiceInterface
  4. {
  5. /**
  6. * 创建oss软连接
  7. * @param string $object
  8. * @param string $link
  9. * @return mixed
  10. */
  11. public function putSymlink(string $object, string $link);
  12. /**
  13. * 创建有效期链接
  14. * @param string $object
  15. * @param int $time_out
  16. * @return mixed
  17. */
  18. public function makeSignUrl(string $object, int $time_out = 20);
  19. }