apifm-webapi 24.12.19 → 25.3.9
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 +18 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -218,6 +218,9 @@ module.exports = {
|
|
|
218
218
|
wxpayApp: data => {
|
|
219
219
|
return request('/pay/wx/app', true, 'post', data);
|
|
220
220
|
},
|
|
221
|
+
wxpayRequestMerchantTransfer: data => {
|
|
222
|
+
return request('/pay/wx/requestMerchantTransfer', true, 'get', data);
|
|
223
|
+
},
|
|
221
224
|
wxpayFOMO: (data) => {
|
|
222
225
|
return request('/pay/fomo/wxapp', true, 'post', data)
|
|
223
226
|
},
|
|
@@ -443,6 +446,9 @@ module.exports = {
|
|
|
443
446
|
goodsPriceFreight: (data) => {
|
|
444
447
|
return request('/shop/goods/price/freight', true, 'get', data)
|
|
445
448
|
},
|
|
449
|
+
goodsPriceMultilevels: (data) => {
|
|
450
|
+
return request('/shop/goods/priceMultilevels', true, 'get', data)
|
|
451
|
+
},
|
|
446
452
|
goodsRebate: (token, goodsId) => {
|
|
447
453
|
return request('/shop/goods/rebate', true, 'get', {
|
|
448
454
|
token, goodsId
|
|
@@ -1167,6 +1173,9 @@ module.exports = {
|
|
|
1167
1173
|
jsonList: (data) => {
|
|
1168
1174
|
return request('/json/list', true, 'post', data)
|
|
1169
1175
|
},
|
|
1176
|
+
jsonListV2: (data) => {
|
|
1177
|
+
return request('/json/list/v2', true, 'post', data)
|
|
1178
|
+
},
|
|
1170
1179
|
jsonSet: (data) => {
|
|
1171
1180
|
return request('/json/set', true, 'post', data)
|
|
1172
1181
|
},
|
|
@@ -1487,6 +1496,9 @@ module.exports = {
|
|
|
1487
1496
|
commonIP: (ip) => {
|
|
1488
1497
|
return request('/common/ip', false, 'get', { ip })
|
|
1489
1498
|
},
|
|
1499
|
+
commonIPV2: (ip = '') => {
|
|
1500
|
+
return request('https://common.apifm.com/' + subDomain + '/common/ip', false, 'get', { ip })
|
|
1501
|
+
},
|
|
1490
1502
|
peisongfei: () => {
|
|
1491
1503
|
return request('/fee/peisong/list', true, 'get')
|
|
1492
1504
|
},
|
|
@@ -2439,4 +2451,10 @@ module.exports = {
|
|
|
2439
2451
|
cpactivityPay: (data) => {
|
|
2440
2452
|
return request('/cpactivityInfo/pay', true, 'post', data)
|
|
2441
2453
|
},
|
|
2454
|
+
volcesArkCreateChatCompletion: (message) => {
|
|
2455
|
+
return request('https://common.apifm.com/' + subDomain + '/volcesArk/createChatCompletion', false, 'post', { message })
|
|
2456
|
+
},
|
|
2457
|
+
volcesArkChatCompletionResult: (key) => {
|
|
2458
|
+
return request('https://common.apifm.com/' + subDomain + '/volcesArk/result', false, 'get', { key })
|
|
2459
|
+
},
|
|
2442
2460
|
}
|
package/package.json
CHANGED