@cpzxrobot/sdk 1.1.73 → 1.1.74
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.
- package/dist/product_gateway.js +2 -2
- package/package.json +1 -1
- package/product_gateway.ts +3 -2
package/dist/product_gateway.js
CHANGED
|
@@ -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: (
|
|
61
|
+
delete: (ids) => {
|
|
62
62
|
return this.context.ready.then((axios) => {
|
|
63
|
-
return axios.post(`/api/v2/coremde-sale/product/price/delete`, {
|
|
63
|
+
return axios.post(`/api/v2/coremde-sale/product/price/delete`, { ids });
|
|
64
64
|
});
|
|
65
65
|
},
|
|
66
66
|
history: {
|
package/package.json
CHANGED
package/product_gateway.ts
CHANGED
|
@@ -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: (
|
|
98
|
+
delete: (ids: number[]) => {
|
|
99
99
|
return this.context.ready.then((axios) => {
|
|
100
|
-
return axios.post(`/api/v2/coremde-sale/product/price/delete`, {
|
|
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(
|