Commit 9fdd03df by 孙亚楠

dd

parent d79b8cd5
......@@ -44,7 +44,12 @@ class TestAPI extends APIBase {
* @returns {Promise<void>}
*/
async resetOrderProcess(pobj, query, req){
await this.orderSve.resetOrderProcess(pobj);
if(pobj.ids.length==0){
return system.getResult(null, `参数错误`);
}
for(let item of pobj.ids) {
await this.orderSve.resetOrderProcess({id:item});
}
return system.getResultSuccess();
}
......
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