Commit fb35f4a8 by 王勇飞

gyq

parent bcc15e76
......@@ -19,6 +19,7 @@ class DeliverybillService extends ServiceBase {
let deliverData = await this.dao.findOne({
id: pobj.deliverId
});
console.log("deliverySve:updateOrderStatus:deliverData----------------------------------------",JSON.stringify(deliverData));
if (!deliverData) {
throw new Error("查不到此交付单");
}
......
......@@ -150,8 +150,9 @@ const feedbackToRys = async (data) => {
},
requestId: uuidv4()
});
if (resData !== 0) {
console.log("resData--------------------------",resData.msg)
console.log("resData--------------------------",JSON.stringify(resData));
if (resData.status !== 0) {
console.log("resData.msg--------------------------" +resData.msg + "-------------------------msg");
throw new Error(resData.msg)
}
}
......
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