Initial commit
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled

This commit is contained in:
chorblack
2026-03-07 11:19:25 +08:00
commit e75f275ef4
4484 changed files with 645480 additions and 0 deletions

48
QNUpload/Qiniu/pfop.php Normal file
View File

@@ -0,0 +1,48 @@
<?php
require_once('auth_digest.php');
// --------------------------------------------------------------------------------
// class Qiniu_Pfop
class Qiniu_Pfop {
public $Bucket;
public $Key;
public $Fops;
public $NotifyURL;
public $Force;
public $Pipeline;
public function MakeRequest($self)
{
global $QINIU_API_HOST;
$ReqParams = array(
'bucket' => $this->Bucket,
'key' => $this->Key,
'fops' => $this->Fops,
'notifyURL' => $this->NotifyURL,
'force' => $this->Force,
'pipeline' => $this->Pipeline
);
$url = $QINIU_API_HOST . '/pfop/';
return Qiniu_Client_CallWithForm($self, $url, $ReqParams);
}
}
function Qiniu_PfopStatus($client, $id)
{
global $QINIU_API_HOST;
$url = $QINIU_API_HOST . '/status/get/prefop?';
$params = array('id' => $id);
return Qiniu_Client_CallWithForm($client, $url, $params);
}