apifm-webapi 3.60.1 → 3.60.2

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 +8 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1097,6 +1097,14 @@ module.exports = {
1097
1097
  type: 2
1098
1098
  })
1099
1099
  },
1100
+ bindOpenidV2: (token, code, appid) => {
1101
+ return request('/user/wxapp/bindOpenid/v2', true, 'post', {
1102
+ token, code, appid
1103
+ })
1104
+ },
1105
+ bindWxmpOpenid: data => {
1106
+ return request('/user/wxmp/bindOpenid', true, 'post', data)
1107
+ },
1100
1108
  encryptedData: (code, encryptedData, iv) => {
1101
1109
  return request('/user/wxapp/decode/encryptedData', true, 'post', {
1102
1110
  code, encryptedData, iv
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "3.60.1",
4
- "description": "WXAPI.goodsDetail(id, token)",
3
+ "version": "3.60.2",
4
+ "description": "bindWxmpOpenid",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"