This commit is contained in:
苏尹岚
2021-03-09 18:01:11 +08:00
parent f298706e06
commit 89d722c729
3 changed files with 12 additions and 9 deletions

View File

@@ -2977,5 +2977,8 @@ func LoadStoreVendorCategories(ctx *jxcontext.Context, vendorOrgCode string, ven
OnCreateThing(ctx, db, vendorOrgCodes, int64(v.CategoryID), model.ThingTypeCategory, model.SyncFlagNewMask, true)
}
}
if _, err = SyncCategories(ctx, nil, []int{vendorID}, []string{vendorOrgCode}, nil, false); err == nil {
SyncReorderCategories2(ctx, 0, vendorID, vendorOrgCode)
}
return err
}

View File

@@ -471,7 +471,9 @@ func GetStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorID int, f
result.SkuCount = skuCount
result.HighSkuCount = highSkuCount
//活动丰富度
handler := partner.GetPurchasePlatformFromVendorID(vendorID)
ample, _ := handler.GetActAmple(ctx, storeDetail.VendorStoreID, storeDetail.VendorStoreID)
result.ActAmple = ample
getStoreManageStateResult = append(getStoreManageStateResult, result)
}
return getStoreManageStateResult, err