This commit is contained in:
苏尹岚
2021-04-01 10:12:56 +08:00
parent e4f9c547a9
commit c5671965ac

View File

@@ -204,6 +204,9 @@ func (c *PurchaseHandler) getOrder(a *jdapi.API, orderID string) (order *model.G
orderMap, err = a.QuerySingleOrder(orderID)
if err == nil {
order = c.Map2Order(orderMap)
if configs, err := dao.QueryConfigs(dao.GetDB(), "jdStorePageCookie", model.ConfigTypeCookie, ""); err == nil {
a.SetJdCookie(configs[0].Value)
}
realMobile, _ = a.GetRealMobile4Order(orderID, order.VendorStoreID)
if realMobile != "" {
order.ConsigneeMobile2 = jxutils.FormalizeMobile(realMobile)