apifm-webapi 3.60.7 → 3.65.0

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 +9 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -360,6 +360,9 @@ module.exports = {
360
360
  id, token
361
361
  })
362
362
  },
363
+ goodsDetailV2: data => {
364
+ return request('/shop/goods/detail', true, 'get', data)
365
+ },
363
366
  goodsLimitations: (goodsId, priceId = '') => {
364
367
  return request('/shop/goods/limitation', true, 'get', {
365
368
  goodsId, priceId
@@ -978,6 +981,9 @@ module.exports = {
978
981
  modifyUserPassword: (token, pwdOld, pwdNew) => {
979
982
  return request('/user/modify/password', true, 'post', { token, pwdOld, pwdNew })
980
983
  },
984
+ modifyUserPasswordByUserName: (data) => {
985
+ return request('/user/username/modifyPassword', true, 'post', data)
986
+ },
981
987
  uniqueId: (type = '') => {
982
988
  return request('/uniqueId/get', true, 'get', { type })
983
989
  },
@@ -1233,6 +1239,9 @@ module.exports = {
1233
1239
  token, goodsId, number, sku
1234
1240
  })
1235
1241
  },
1242
+ shippingCarInfoAddItemV2: data => {
1243
+ return request('/shopping-cart/add', true, 'post', data)
1244
+ },
1236
1245
  shippingCarInfoModifyNumber: (token, key, number) => {
1237
1246
  return request('/shopping-cart/modifyNumber', true, 'post', {
1238
1247
  token, key, number
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "3.60.7",
4
- "description": "增加regionSearch",
3
+ "version": "3.65.0",
4
+ "description": "shippingCarInfoAddItemV2",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"