|
|
|
@ -101,7 +101,7 @@ function setRefreshToken()
|
|
|
|
|
$id_ckuser = id_CKdecrypt($_COOKIE["fr_id_auth"]); |
|
|
|
|
$id_ckuserinfo = $id_ckuser['client']; |
|
|
|
|
$data = '&appid='.$id_ckuserinfo['appid'].'&uid='.$id_ckuserinfo['uid'].'&refresh_token='.$id_ckuser['refresh_token']; |
|
|
|
|
$re_login = CallInterface(DIGIT_API_URL.'/v1/token/refresh/'.$data,'GET'); |
|
|
|
|
$re_login = CallInterface(NEW_API_URL.'/v1/token/refresh/'.$data,'GET'); |
|
|
|
|
$jsonarr = json_decode($re_login,true); |
|
|
|
|
if($jsonarr['message']=='success'){ |
|
|
|
|
$new_json = json_encode($jsonarr['data'],JSON_UNESCAPED_UNICODE); |
|
|
|
|