Commit ebd25261 by 孙亚楠

dd

parent 4ccd8a42
......@@ -65,6 +65,25 @@ class OrderCtl extends CtlBase {
}
}
async orderChooseProducts(pobj, pobj2, req) {
let orderId = this.trim(pobj.id);
let order = await this.orderSve.orderInfo({id: orderId});
if(!order.data || !order.data.product_id) {
return system.getResult(null, "订单不存在");
}
let params = {
pid: order.data.product_id,
is_choose: 1,
}
try {
return await this.orderSve.productDics(params);
} catch (e) {
console.log(e);
return system.getResultFail(500, "接口错误");
}
}
/**
* 分配业务员
* @param {*} pobj
......
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