apifm-webapi 3.60.7 → 3.64.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 +6 -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
  },
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.64.0",
4
+ "description": "goodsDetailV2",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"