wupengfei 2 years ago
parent
commit
451be808cb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vendor/zoujingli/think-library/src/driver/Qiniu.php

+ 1 - 0
vendor/zoujingli/think-library/src/driver/Qiniu.php

@@ -215,6 +215,7 @@ class Qiniu extends File
         $location = $this->base();
         $bucket = self::$config->get('storage_qiniu_bucket');
         $policy = ['returnBody' => '{"uploaded":true,"filename":"$(key)","url":"' . $location . '$(key)"}'];
+        var_dump($policy);
         return $this->getAuth()->uploadToken($bucket, $key, $expires, $policy, true);
     }