话费应该属于隐私的东西吧。
不过陌路人看到在52论坛有大神分享了一款应用,可以轻松让我们查询所有联通手机的花费,没什么好介绍的,需要学习的可以看看。
软件版(易语言写的):
python联通查询话费源码
php版联通查话费!
怕有些人没有吾爱账号,我放上php版接口源码。
调用?phone=手机号码
<?php $url="https://weixin.10010js.com/app/charge/qryRealFee"; $data='{"phone":'.'"'.$_GET["phone"].'"}'; echo "您的帐户余额是:<font color=red size=30>".(curl_post($url,$data)/100)."</font>元人民币"; function curl_post($url,$data){ $headers = array( "Host:weixin.10010js.com", "Content-Type:application/json", "Cache-Control:no-cache", "Content-Length:23", "Accept:*/*", "Referer:https://weixin.10010js.com/actPage/activity/index28.html?", "Accept-Language:zh-cn", "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36" ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); $output = curl_exec($ch); curl_close($ch); return $output; } ?>
网页版:自己搭建啊
原文链接:https://molure.cn/ym/1912.html
© 版权声明
THE END
暂无评论内容