|
|
|
@ -569,7 +569,7 @@ class Information extends CI_Controller {
|
|
|
|
|
//默认更新成功,如果不成功,则返回错误提示信息
|
|
|
|
|
$notice = 200;
|
|
|
|
|
if ($flag) {
|
|
|
|
|
$result = file_get_contents('https://openapi.us.cdnetworks.com/purge/rest/doPurge?user=ycc@chinahighlights.com&pass=cXi2UbsTrw9Urv&pad=' . $pad . '&type=item&path=' . $url . '&output=json');
|
|
|
|
|
$result = GET_HTTP('https://openapi.us.cdnetworks.com/purge/rest/doPurge?user=ycc@chinahighlights.com&pass=cXi2UbsTrw9Urv@&pad=' . $pad . '&type=item&path=' . $url . '&output=json');
|
|
|
|
|
$result = json_decode($result, true);
|
|
|
|
|
if ($result['resultCode'] != 200)
|
|
|
|
|
$notice = $result['notice'] . $result['details'];
|
|
|
|
|