@cpzxrobot/sdk 1.1.80 → 1.1.81
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/package.json +1 -1
- package/unit_gateway.ts +2 -4
package/package.json
CHANGED
package/unit_gateway.ts
CHANGED
|
@@ -114,12 +114,10 @@ export class UnitGateway extends Object {
|
|
|
114
114
|
});
|
|
115
115
|
});
|
|
116
116
|
},
|
|
117
|
-
clear: (
|
|
117
|
+
clear: (args:any) => {
|
|
118
118
|
return this.context.ready.then((axios) => {
|
|
119
119
|
return axios.post(
|
|
120
|
-
`/api/v2/batch/unit/empty`,
|
|
121
|
-
unitIds
|
|
122
|
-
});
|
|
120
|
+
`/api/v2/batch/unit/empty`,args);
|
|
123
121
|
});
|
|
124
122
|
},
|
|
125
123
|
//获取某个单元的批次信息
|