This commit is contained in:
邹宗楠
2023-07-14 17:46:44 +08:00
parent 2909a9ae8d
commit 35ca3a47cc
6 changed files with 7 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ func (p *PurchaseHandler) getOrder(vendorOrgCode string, vendorOrderID int64, ve
}
if len(activityId) > 0 {
sku.StoreSubID = int(activityId[0])
sku.StoreSubID = activityId[0]
sku.StoreSubName = strings.Join(activityName, ",")
}
if sku.Weight == 0 {

View File

@@ -162,7 +162,7 @@ func (p *PurchaseHandler) getOrder(vendorOrgCode, vendorOrderID, vendorStoreID s
activityName = append(activityName, utils.Int64ToStr(v.CampaignId)+":"+v.CampaignName)
}
if len(activityId) > 0 {
sku.StoreSubID = int(activityId[0])
sku.StoreSubID = activityId[0]
sku.StoreSubName = strings.Join(activityName, ",")
}
if sku.Weight == 0 {