@cpzxrobot/sdk 1.1.73 → 1.1.75

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.
@@ -58,9 +58,9 @@ class ProductGateway extends Object {
58
58
  return axios.post(`/api/v2/coremde-sale/product/price/add`, args);
59
59
  });
60
60
  },
61
- delete: (id) => {
61
+ delete: (ids) => {
62
62
  return this.context.ready.then((axios) => {
63
- return axios.post(`/api/v2/coremde-sale/product/price/delete`, { id });
63
+ return axios.post(`/api/v2/coremde-sale/product/price/delete`, { ids });
64
64
  });
65
65
  },
66
66
  history: {
@@ -150,6 +150,7 @@ class ProjectGateway extends Object {
150
150
  return axios.getAndSave(`/api/v2/coremde-sale/project/inquiry/export`, {
151
151
  params: {
152
152
  id,
153
+ fileName
153
154
  }
154
155
  }, fileName);
155
156
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.1.73",
3
+ "version": "1.1.75",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -95,9 +95,9 @@ export class ProductGateway extends Object {
95
95
  return axios.post(`/api/v2/coremde-sale/product/price/add`, args);
96
96
  });
97
97
  },
98
- delete: (id: number) => {
98
+ delete: (ids: number[]) => {
99
99
  return this.context.ready.then((axios) => {
100
- return axios.post(`/api/v2/coremde-sale/product/price/delete`, { id });
100
+ return axios.post(`/api/v2/coremde-sale/product/price/delete`, { ids });
101
101
  });
102
102
  },
103
103
  history: {
@@ -105,6 +105,7 @@ export class ProductGateway extends Object {
105
105
  pageNo: number;
106
106
  pageSize: number;
107
107
  product_id: number;
108
+ name: string;
108
109
  }) => {
109
110
  return this.context.ready.then((axios) => {
110
111
  return axios.post(
@@ -191,6 +191,7 @@ export class ProjectGateway extends Object {
191
191
  return axios.getAndSave(`/api/v2/coremde-sale/project/inquiry/export`, {
192
192
  params: {
193
193
  id,
194
+ fileName
194
195
  }
195
196
  },fileName);
196
197
  });