apifm-webapi 3.55.1 → 3.56.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 +24 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -462,12 +462,18 @@ module.exports = {
462
462
  goodsId: goodsIdArray.join()
463
463
  })
464
464
  },
465
- pingtuanOpen: (token, goodsId) => {
465
+ pingtuanOpen: (token, goodsId, extJsonStr = '') => {
466
466
  return request('/shop/goods/pingtuan/open', true, 'post', {
467
467
  goodsId,
468
- token
468
+ token,
469
+ extJsonStr
469
470
  })
470
471
  },
472
+ pingtuanTuanInfo: (tuanId) => {
473
+ return request('/shop/goods/pingtuan/tuanInfo', true, 'get', {
474
+ tuanId
475
+ });
476
+ },
471
477
  pingtuanList: (data) => {
472
478
  return request('/shop/goods/pingtuan/list/v2', true, 'post', data)
473
479
  },
@@ -1081,6 +1087,9 @@ module.exports = {
1081
1087
  qqAuthorize: (data) => {
1082
1088
  return request('/user/q/authorize', true, 'post', data)
1083
1089
  },
1090
+ qqQrcode: (content) => {
1091
+ return request('/user/q/qrcode', true, 'post', { content })
1092
+ },
1084
1093
  siteStatistics: () => {
1085
1094
  return request('/site/statistics', true, 'get')
1086
1095
  },
@@ -1580,4 +1589,17 @@ module.exports = {
1580
1589
  commonDatetime: () => {
1581
1590
  return request('/common/datetime', true, 'get')
1582
1591
  },
1592
+ // 支付宝小程序
1593
+ aliappUserRegister: data => {
1594
+ return request('/user/aliapp/register', true, 'post', data)
1595
+ },
1596
+ aliappUserLogin: data => {
1597
+ return request('/user/aliapp/login', true, 'post', data)
1598
+ },
1599
+ aliappUserAuthorize: data => {
1600
+ return request('/user/aliapp/authorize', true, 'post', data)
1601
+ },
1602
+ aliappQrcode: content => {
1603
+ return request('/user/aliapp/qrcode', true, 'post', { content })
1604
+ },
1583
1605
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "3.55.1",
4
- "description": "优化秒杀抢名额方法",
3
+ "version": "3.56.0",
4
+ "description": "增加获取支付宝小程序二维码",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"