xielin 5 years ago
parent
commit
b7aa170a92
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Http/Controllers/OssController.php

+ 2 - 1
app/Http/Controllers/OssController.php

@@ -26,7 +26,8 @@ $policy = <<<POLICY
             {
               "Action": [
                 "oss:Get*",
-                "oss:List*"
+                "oss:List*",
+                "oss:Put*"
               ],
               "Effect": "Allow",
               "Resource": "*"