aa
This commit is contained in:
@@ -1656,8 +1656,10 @@ func GetStoreCourierMaps(ctx *jxcontext.Context, db *dao.DaoDB, storeID int, ven
|
||||
handler := partner.GetDeliveryPlatformFromVendorID(vendorID).Handler
|
||||
storeDetail, _ := handler.GetStore(ctx, storeID, utils.Int2Str(storeID))
|
||||
for _, v := range storeCourierMaps {
|
||||
if v.VendorStoreName == "" {
|
||||
v.VendorStoreName = storeDetail.Name
|
||||
if v != nil {
|
||||
if v.VendorStoreName == "" {
|
||||
v.VendorStoreName = storeDetail.Name
|
||||
}
|
||||
}
|
||||
}
|
||||
return storeCourierMaps, err
|
||||
|
||||
Reference in New Issue
Block a user