apifm-webapi 25.10.11 → 25.10.16
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 +2 -2
package/index.js
CHANGED
|
@@ -1777,6 +1777,18 @@ module.exports = {
|
|
|
1777
1777
|
goodsVisitLogClear: (token) => {
|
|
1778
1778
|
return request('/goods/visitLog/clear', true, 'post', { token })
|
|
1779
1779
|
},
|
|
1780
|
+
goodsVisitLogV2: data => {
|
|
1781
|
+
return request('https://common.apifm.com/' + subDomain + '/goods/visitLog', false, 'post', data)
|
|
1782
|
+
},
|
|
1783
|
+
goodsVisitLogAddV2: data => {
|
|
1784
|
+
return request('https://common.apifm.com/' + subDomain + '/goods/visitLog/add', false, 'post', data)
|
|
1785
|
+
},
|
|
1786
|
+
goodsVisitLogDeleteV2: data => {
|
|
1787
|
+
return request('https://common.apifm.com/' + subDomain + '/goods/visitLog/delete', false, 'post', data)
|
|
1788
|
+
},
|
|
1789
|
+
goodsVisitLogClearV2: token => {
|
|
1790
|
+
return request('https://common.apifm.com/' + subDomain + '/goods/visitLog/clear', false, 'post', { token })
|
|
1791
|
+
},
|
|
1780
1792
|
channelDataPush: (key, content) => {
|
|
1781
1793
|
return request('/channelData/push', true, 'post', { key, content })
|
|
1782
1794
|
},
|
package/package.json
CHANGED