上海电信账单余额查询接口

在sh.189.cn网站上给电信号码充值过程中无意发现了一个电信用于查询账单余额的接口,同时这个接口调用并没有做访问控制,可以随意调用的。

根据devidType参数的不同,目前支持下列账户查询:

  • 00 -> 电话
  • 01 -> 小灵通
  • 02 -> 手机
  • 03 -> 宽带(需要密码
  • 08 -> 分账序号

一、简单的调用

可以直接在浏览器地址栏中输入:

http://sh.189.cn/service/phoneBalance.do?devidType=02&account=180xxxxxxxx

tip:180xxxxxxxx就是你实际需要查询的账

回车显示如下:

二、java 程序调用

运行结果如下:

大家可以试试噢。

注意:这个仅仅用于上海电信的账号查询。

原创文章,转载请注明: 转载自micmiu – 软件开发+生活点滴[ http://www.micmiu.com/ ]

本文链接地址: http://www.micmiu.com/techother/shtel-balance-query/

发表评论?

1 条评论。

  1. 现在已经不能用了

回复给 tomzhou ¬
取消回复


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">