Commit 20fbf99b by 孙亚楠

dd

parent 9fdd03df
......@@ -47,10 +47,13 @@ class TestAPI extends APIBase {
if(pobj.ids.length==0){
return system.getResult(null, `参数错误`);
}
let res = [];
for(let item of pobj.ids) {
await this.orderSve.resetOrderProcess({id:item});
let temp = await this.orderSve.resetOrderProcess({id:item}) || {};
temp.id = item;
res.push(temp);
}
return system.getResultSuccess();
return system.getResultSuccess(res);
}
async testInvoice() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment