We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34fc0e5 commit 2cd43f2Copy full SHA for 2cd43f2
qiniu/rs.php
@@ -84,8 +84,10 @@ public function Token($mac) // => $token
84
if (!empty($this->EndUser)) {
85
$policy['endUser'] = $this->EndUser;
86
}
87
- if (!empty($this->PersistentOps) && !empty($this->PersistentNotifyUrl)) {
+ if (!empty($this->PersistentOps)) {
88
$policy['persistentOps'] = $this->PersistentOps;
89
+ }
90
+ if (!empty($this->PersistentNotifyUrl)) {
91
$policy['persistentNotifyUrl'] = $this->PersistentNotifyUrl;
92
93
0 commit comments