- 评价记录用户真实手机号,也推送真实手机号
This commit is contained in:
@@ -102,13 +102,17 @@ func (c *OrderManager) OnOrderComments(orderCommentList []*model.OrderComment) (
|
|||||||
comment2.Maxmodifytime = int(orderComment.ModifyDuration)
|
comment2.Maxmodifytime = int(orderComment.ModifyDuration)
|
||||||
if orderComment.VendorID != model.VendorIDELM {
|
if orderComment.VendorID != model.VendorIDELM {
|
||||||
var order *model.GoodsOrder
|
var order *model.GoodsOrder
|
||||||
if orderComment.VendorID != model.VendorIDEBAI {
|
if true /*orderComment.VendorID != model.VendorIDEBAI*/ {
|
||||||
order, err = partner.CurOrderManager.LoadOrder(orderComment.VendorOrderID, orderComment.VendorID)
|
order, _ = partner.CurOrderManager.LoadOrder(orderComment.VendorOrderID, orderComment.VendorID)
|
||||||
}
|
}
|
||||||
if order != nil {
|
if order != nil {
|
||||||
orderComment.StoreID = jxutils.GetSaleStoreIDFromOrder(order)
|
orderComment.StoreID = jxutils.GetSaleStoreIDFromOrder(order)
|
||||||
|
if order.ConsigneeMobile2 != "" {
|
||||||
|
orderComment.ConsigneeMobile = order.ConsigneeMobile2
|
||||||
|
} else {
|
||||||
orderComment.ConsigneeMobile = order.ConsigneeMobile
|
orderComment.ConsigneeMobile = order.ConsigneeMobile
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if orderComment.StoreID > 0 {
|
if orderComment.StoreID > 0 {
|
||||||
comment2.Jxstoreid = utils.Int2Str(orderComment.StoreID)
|
comment2.Jxstoreid = utils.Int2Str(orderComment.StoreID)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user