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.
Files changed (2) hide show
  1. package/index.js +12 -0
  2. 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "25.10.11",
4
- "description": "cashLogsV3 接口更新",
3
+ "version": "25.10.16",
4
+ "description": "商品浏览足迹接口升级",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"