function dwz($url){
$json=file_get_contents("http://yy.gongju.at/?a=addon&m=wxdwz&token=26d1e69457475590b8e272&long=".urlencode($url));
$arr=json_decode($json,true);
if($arr['ret_code']==0){
return $arr['short'];
}else{
return $arr['msg'];
}
}
网友评论