mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
22 lines
375 B
PHP
22 lines
375 B
PHP
<?php
|
|
|
|
namespace OSS\Result;
|
|
|
|
|
|
/**
|
|
* Class CallbackResult
|
|
* @package OSS\Result
|
|
*/
|
|
class CallbackResult extends PutSetDeleteResult
|
|
{
|
|
protected function isResponseOk()
|
|
{
|
|
$status = $this->rawResponse->status;
|
|
if ((int)(intval($status) / 100) == 2 && (int)(intval($status)) !== 203) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
}
|