querying-number-location
v2.0.4
Published
0.0.1
Downloads
24
Readme
Installation
npm install querying-number-location --save
Usage
app.js:
const query_body = require('querying-number-location');
const express = require('express');
const app = express();
app.use('/api', function(req,res){
query_body.queryingLocation(req,res); //该方法只接收POST请求
});
client.js:
$.ajax({
url:'/api',
type:'POST', //只能使用POST请求
data:{phone:132xxxxxxxx},
success:function(res){
//code...
}
});
Waring
手机号码归属地查询的功能实现依赖于其他未知网络资源,仅供开发测试使用,请自行承担商业性使用带来的法律责任!