Commit 54a41a47 by Sxy

fix: 业务员信息取值

parent 90e987c5
......@@ -164,7 +164,7 @@ class BaiduHandler {
//如果订单状态为已支付
if (datajson.actionBody.needsolution.status == "PAID") {
//查询业务员信息并填充到obj
if (datajson.actionBody.needsolution.salesmanInfo.salesmanChannelId) {
if (datajson.actionBody.needsolution.salesmanInfo && datajson.actionBody.needsolution.salesmanInfo.salesmanChannelId) {
//去数据库查询该业务员信息
obj.salesmanOpcode = `root10/bizgroup01/g1members/${datajson.actionBody.needsolution.salesmanInfo.salesmanChannelId}`;
try {
......
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