apifm-webapi 3.60.6 → 3.60.7

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 +13 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -694,6 +694,9 @@ module.exports = {
694
694
  id
695
695
  })
696
696
  },
697
+ regionSearch: data => {
698
+ return request('/common/region/v2/search', false, 'post', data)
699
+ },
697
700
  cashLogs: (data) => {
698
701
  return request('/user/cashLog', true, 'post', data)
699
702
  },
@@ -1210,7 +1213,7 @@ module.exports = {
1210
1213
  return request('/user/email/login', true, 'post', data)
1211
1214
  },
1212
1215
  bindEmail: (token, email, code, pwd = '') => {
1213
- return request('/user/email/bindUsername', true, 'post', {
1216
+ return request('/user/email/bindEmail', true, 'post', {
1214
1217
  token, email, code, pwd
1215
1218
  })
1216
1219
  },
@@ -1277,6 +1280,15 @@ module.exports = {
1277
1280
  wxOpenAuthorization: (data) => {
1278
1281
  return request('/user/wxsns/authorization', true, 'post', data)
1279
1282
  },
1283
+ wxOpenRegister: (data) => {
1284
+ return request('/user/wxsns/register', true, 'post', data)
1285
+ },
1286
+ wxOpenBindOpenid: (data) => {
1287
+ return request('/user/wxsns/bindOpenid/v2', true, 'post', data)
1288
+ },
1289
+ wxOpenLogin: (data) => {
1290
+ return request('/user/wxsns/login', true, 'post', data)
1291
+ },
1280
1292
  userAttentioncheck: (token, uid) => {
1281
1293
  return request('/user/attention/check', true, 'get', {
1282
1294
  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.60.7",
4
+ "description": "增加regionSearch",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"