apifm-webapi 25.6.30 → 25.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +21 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1296,6 +1296,24 @@ module.exports = {
1296
1296
  mapQQSearch: (data) => {
1297
1297
  return request('/common/map/qq/search', false, 'post', data)
1298
1298
  },
1299
+ mapQQSearchV2: (data) => {
1300
+ return request('https://common.apifm.com/' + subDomain + '/map/qq/search', false, 'post', data)
1301
+ },
1302
+ mapDistanceNavigationV2: (data) => {
1303
+ return request('https://common.apifm.com/' + subDomain + '/map/qq/distance', false, 'post', data)
1304
+ },
1305
+ mapQQAddressV3: (data) => {
1306
+ return request('https://common.apifm.com/' + subDomain + '/map/qq/address', false, 'post', data)
1307
+ },
1308
+ mapGeocoder: (data) => {
1309
+ return request('https://common.apifm.com/' + subDomain + '/map/geocoder', false, 'post', data)
1310
+ },
1311
+ mapDrive: (data) => {
1312
+ return request('https://common.apifm.com/' + subDomain + '/map/drive', false, 'post', data)
1313
+ },
1314
+ mapAddressToGps: (data) => {
1315
+ return request('https://common.apifm.com/' + subDomain + '/map/addressToGps', false, 'post', data)
1316
+ },
1299
1317
  virtualTraderList: (data) => {
1300
1318
  return request('/virtualTrader/list', true, 'post', data)
1301
1319
  },
@@ -1594,6 +1612,9 @@ module.exports = {
1594
1612
  commonIPV2: (ip = '') => {
1595
1613
  return request('https://common.apifm.com/' + subDomain + '/common/ip', false, 'get', { ip })
1596
1614
  },
1615
+ commonIPV3: (ip = '') => {
1616
+ return request('https://common.apifm.com/' + subDomain + '/common/ip/v2', false, 'get', { ip })
1617
+ },
1597
1618
  peisongfei: () => {
1598
1619
  return request('/fee/peisong/list', true, 'get')
1599
1620
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "25.06.30",
4
- "description": "json接口升级到version 2.0",
3
+ "version": "25.7.2",
4
+ "description": "增加commonIPV3",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"