apifm-webapi 1.44.0 → 1.45.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 +3 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -351,6 +351,9 @@ module.exports = {
351
351
  goodsFavDeleteV2: data => {
352
352
  return request('/shop/goods/fav/delete', true, 'post', data)
353
353
  },
354
+ goodsSeckillGrab: (goodsId, seconds) => {
355
+ return request('/goods/seckill/grab', false, 'post', { goodsId, seconds })
356
+ },
354
357
  coupons: (data) => {
355
358
  return request('/discounts/coupons', true, 'get', data)
356
359
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "1.44.0",
4
- "description": "增加 paypal 支付",
3
+ "version": "1.45.0",
4
+ "description": "增加秒杀占位方法",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"