Cannot display spam-count while using custom API.
Created by: DiruSec
JSON Data:
{
"reason":"查询成功",
"error_code":0,
"result":{
"rpt_cnt":"214",
"province":"",
"city":"江苏 南京 U.友(爱施德)",
"rpt_type":"响一声",
"phone":"17095568061",
"name":"响一声",
"provider":"",
"info":"",
"company":""
}
}
响一声
as orange and 诈骗电话
as red, however, spam-count does not display on call history.
Call type got an extra space as well.
Marked I have erased all numbers from screenshot, the call in number displayed normally without any problem. Apologize if it makes you confused.
The following JSON data does not work as well. (Added iszhapian
countDesc
for emulate juhe API format)
{
"reason": "查询成功",
"result": {
"rpt_type": "骚扰电话",
"city": "湖北 咸宁 联通",
"rpt_cnt": "17",
"iszhapian": 1,
"phone": "15629945950",
"info": "",
"countDesc": "此号码近期被<b>17</b>位<a class=\"mohe-sjws\" href=\" http://shouji.360.cn/\" target=\"_blank\">360手机卫士</a>用户标记,疑似为骚扰电话!",
"company": "",
"name": "骚扰电话",
"provider": "",
"province": ""
},
"error_code": 0
}