This commit is contained in:
苏尹岚
2021-04-02 10:30:22 +08:00
parent f1b842d90c
commit 0bfaefe163

View File

@@ -160,7 +160,9 @@ func (c *PurchaseHandler) onOrderInfoChangeMsg(vendorOrgCode string, msg *jdapi.
order.BuyerComment = msg.OrderBuyerRemark
}
_, err = dao.UpdateEntity(db, order, "ConsigneeAddress", "ConsigneeName", "ConsigneeMobile", "ConsigneeLat", "ConsigneeLng", "BuyerComment")
weixinmsg.NotifyOrderChanged(order)
if !(order.Status >= model.OrderStatusEndBegin && order.Status <= model.OrderStatusEndEnd) {
weixinmsg.NotifyOrderChanged(order)
}
}
return jdapi.SuccessResponse
}