主页 > 开发文档 >

25.分机与IP对应关系接口

下面接口,可以用json方式查看IP与分机的对应关系,并且显示当前分机是否正常登录注册。
http://192.168.1.5/cc/phpcgi/extstoip.phpm 查看
返回格式如下:

    {"1003":{"ip":"60.10.58.168","stat":"error"},"2001":{"ip":"","stat":"error"},"201":{"ip":"221.233.243.172","stat":"ok"},"202":{"ip":"","stat":"error"},"211":{"ip":"","stat":"error"},"8001":{"ip":"125.39.66.11","stat":"ok"},"8002":{"ip":"114.249.35.56","stat":"ok"},"8003":{"ip":"114.246.124.56","stat":"ok"},"8004":{"ip":"","stat":"error"},"8701":{"ip":"","stat":"error"},"8702":{"ip":"","stat":"error"},"8703":{"ip":"","stat":"error"},"8801":{"ip":"","stat":"error"},"8802":{"ip":"","stat":"error"},"901":{"ip":"221.233.243.172","stat":"ok"},"902":{"ip":"","stat":"error"},"903":{"ip":"123.56.177.253","stat":"ok"}}

发布日期: 2023-10-18 12:42 点击数:87