apifm-webapi 3.60.6 → 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 +19 -1
  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
@@ -694,6 +697,9 @@ module.exports = {
694
697
  id
695
698
  })
696
699
  },
700
+ regionSearch: data => {
701
+ return request('/common/region/v2/search', false, 'post', data)
702
+ },
697
703
  cashLogs: (data) => {
698
704
  return request('/user/cashLog', true, 'post', data)
699
705
  },
@@ -975,6 +981,9 @@ module.exports = {
975
981
  modifyUserPassword: (token, pwdOld, pwdNew) => {
976
982
  return request('/user/modify/password', true, 'post', { token, pwdOld, pwdNew })
977
983
  },
984
+ modifyUserPasswordByUserName: (data) => {
985
+ return request('/user/username/modifyPassword', true, 'post', data)
986
+ },
978
987
  uniqueId: (type = '') => {
979
988
  return request('/uniqueId/get', true, 'get', { type })
980
989
  },
@@ -1210,7 +1219,7 @@ module.exports = {
1210
1219
  return request('/user/email/login', true, 'post', data)
1211
1220
  },
1212
1221
  bindEmail: (token, email, code, pwd = '') => {
1213
- return request('/user/email/bindUsername', true, 'post', {
1222
+ return request('/user/email/bindEmail', true, 'post', {
1214
1223
  token, email, code, pwd
1215
1224
  })
1216
1225
  },
@@ -1277,6 +1286,15 @@ module.exports = {
1277
1286
  wxOpenAuthorization: (data) => {
1278
1287
  return request('/user/wxsns/authorization', true, 'post', data)
1279
1288
  },
1289
+ wxOpenRegister: (data) => {
1290
+ return request('/user/wxsns/register', true, 'post', data)
1291
+ },
1292
+ wxOpenBindOpenid: (data) => {
1293
+ return request('/user/wxsns/bindOpenid/v2', true, 'post', data)
1294
+ },
1295
+ wxOpenLogin: (data) => {
1296
+ return request('/user/wxsns/login', true, 'post', data)
1297
+ },
1280
1298
  userAttentioncheck: (token, uid) => {
1281
1299
  return request('/user/attention/check', true, 'get', {
1282
1300
  token, uid
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "3.60.6",
4
- "description": "init2 方法无效的bug",
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"