OSSsdk求解决
ReOSSsdk求解决
function CloudStorage_Del(&$upload){ global $zbp; $bucket = $zbp->Config('CloudStorage')->CS_Bucket; switch ( $upload->Metas->CS_Tpye ) { case '1': define('OSS_ACCESS_ID', $zbp->Config('CloudStorage')->CS_Ali_KeyID); //ACCESS_ID define('OSS_ACCESS_KEY', $zbp->Config('CloudStorage')->CS_Ali_KeySecret);//ACCESS_KEY require_once dirname(__FILE__).'/api/oss/sdk.class.php'; $os_service = new ALIOSS(); $os_service->set_debug_mode(FALSE); $object = str_replace('http://'.$bucket.'.oss.aliyuncs.com/', '', $upload->Metas->CS_URL); $os_service->delete_object($bucket,$object); break;
获取上传地址的是哪个参数
-------------------------
ReOSSsdk求解决
-------------------------
ReOSSsdk求解决
赞0
踩0