apifm-webapi 24.12.19 → 25.1.10
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.
- package/index.js +6 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1167,6 +1167,9 @@ module.exports = {
|
|
|
1167
1167
|
jsonList: (data) => {
|
|
1168
1168
|
return request('/json/list', true, 'post', data)
|
|
1169
1169
|
},
|
|
1170
|
+
jsonListV2: (data) => {
|
|
1171
|
+
return request('/json/list/v2', true, 'post', data)
|
|
1172
|
+
},
|
|
1170
1173
|
jsonSet: (data) => {
|
|
1171
1174
|
return request('/json/set', true, 'post', data)
|
|
1172
1175
|
},
|
|
@@ -1487,6 +1490,9 @@ module.exports = {
|
|
|
1487
1490
|
commonIP: (ip) => {
|
|
1488
1491
|
return request('/common/ip', false, 'get', { ip })
|
|
1489
1492
|
},
|
|
1493
|
+
commonIPV2: (ip = '') => {
|
|
1494
|
+
return request('https://common.apifm.com/' + subDomain + '/common/ip', false, 'get', { ip })
|
|
1495
|
+
},
|
|
1490
1496
|
peisongfei: () => {
|
|
1491
1497
|
return request('/fee/peisong/list', true, 'get')
|
|
1492
1498
|
},
|
package/package.json
CHANGED