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 3a9f9d2 commit 0e96190Copy full SHA for 0e96190
examples/persistent_fop_status.php
@@ -3,10 +3,16 @@
3
4
use Qiniu\Processing\PersistentFop;
5
6
+$pfop = new Qiniu\Processing\PersistentFop(null, null);
7
+
8
// 触发持久化处理后返回的 Id
-$persistentId = 'z0.564d5f977823de48a85ece59';
9
+$persistentId = 'z1.5b8a48e5856db843bc24cfc3';
10
11
// 通过persistentId查询该 触发持久化处理的状态
-$status = PersistentFop::status($persistentId);
12
+list($ret, $err) = $pfop->status($persistentId);
13
-var_dump($status);
14
+if ($err) {
15
+ print_r($err);
16
+} else {
17
+ print_r($ret);
18
+}
0 commit comments