Commit 18898473 by linboxuan

lin update getProductPrice

parent 12e518aa
......@@ -187,12 +187,15 @@ class ProductService extends ServiceBase {
break;
}
var produceinfo = await this.customQuery(producesql);
if (produceinfo) {
if (produceinfo.length != 0) {
actionBody.payCode = produceinfo[0].payCode;
actionBody.channelItemCode = produceinfo[0].channelItemCode;
actionBody.price = produceinfo[0].price;
return system.getResultSuccess(actionBody);
// 2020 1015 lin 修改 如果没查到则返回错误信息
} else {
return system.getResult(null, "getProductPrice fail , please check actionBody");
}
return system.getResultSuccess(actionBody);
}
/**
......
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