apifm-webapi 25.1.10 → 25.3.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 +12 -0
- package/package.json +1 -1
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
|
|
@@ -2445,4 +2451,10 @@ module.exports = {
|
|
|
2445
2451
|
cpactivityPay: (data) => {
|
|
2446
2452
|
return request('/cpactivityInfo/pay', true, 'post', data)
|
|
2447
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
|
+
},
|
|
2448
2460
|
}
|