apifm-webapi 3.45.0 → 3.46.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 +18 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -603,6 +603,9 @@ module.exports = {
603
603
  fxApply: (token, name, mobile) => {
604
604
  return request('/saleDistribution/apply', true, 'post', { token, name, mobile })
605
605
  },
606
+ fxApplyV2: data => {
607
+ return request('/saleDistribution/apply/v2', true, 'post', data)
608
+ },
606
609
  fxBuy: token => {
607
610
  return request('/saleDistribution/buy', true, 'post', { token })
608
611
  },
@@ -634,6 +637,21 @@ module.exports = {
634
637
  fxMembersStatistics: token => {
635
638
  return request('/saleDistribution/members/statistics', true, 'get', { token })
636
639
  },
640
+ fxMyCommisionStatistics: (token, days) => {
641
+ return request('/saleDistribution/my/commision', true, 'get', { token, days })
642
+ },
643
+ fxGoods: data => {
644
+ return request('/saleDistribution/goods', true, 'post', data)
645
+ },
646
+ fxTeamReport: data => {
647
+ return request('/saleDistribution/team/report', true, 'post', data)
648
+ },
649
+ fxCities: token => {
650
+ return request('/saleDistribution/city/list', true, 'get', { token })
651
+ },
652
+ fxCityReport: data => {
653
+ return request('/saleDistribution/city/report', true, 'post', data)
654
+ },
637
655
  goodsSellNumberStatistics: (page, pageSize, goodsId = '') => {
638
656
  return request('/site/goods/statistics', true, 'get', {
639
657
  page, pageSize, goodsId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "3.45.0",
3
+ "version": "3.46.0",
4
4
  "description": "增加SDK方法",
5
5
  "main": "index.js",
6
6
  "scripts": {