更新cdn用户密码

hotfix/远程访问多媒体中心
尹诚诚 8 years ago
parent 91dc70e2c0
commit bc8a847e48

@ -569,7 +569,7 @@ class Information extends CI_Controller {
//默认更新成功,如果不成功,则返回错误提示信息 //默认更新成功,如果不成功,则返回错误提示信息
$notice = 200; $notice = 200;
if ($flag) { 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); $result = json_decode($result, true);
if ($result['resultCode'] != 200) if ($result['resultCode'] != 200)
$notice = $result['notice'] . $result['details']; $notice = $result['notice'] . $result['details'];

Loading…
Cancel
Save