前后分离项目使用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
662 B

<?php
/**
* 同步登录应用接口
* 2020.01.31 by xiaowei
*/
error_reporting(0);
set_magic_quotes_runtime(0);
echo '<script type="text/javascript" src="https://frhelp/idapi/idapi.php?time='.time().'&type=logout"></script>';
/*require 'idapi_config.php';
require 'idapi_function.php';
//获取应用列表
$idaaps_curl_get = CallInterface(ID_URL.'/idapi/idapps.php','GET');
$apps_jsonarr = json_decode($idaaps_curl_get,true);
//遍历各应用退出
foreach($apps_jsonarr as $appid => $app) {
if($app['isopen']==1){
echo '<script type="text/javascript" src="'.$app['url'].'/idapi/idapi.php?time='.time().'&type=logout"></script>';
}
}
*/
?>