Commit 9c8312b8 by 杨树贤

去重标签

parent b3bfa05d
Showing with 3 additions and 1 deletions
......@@ -93,7 +93,9 @@ func (ts *TagsService) GetLyTags(sku model.LySku) (goodsTags model.GoodsTag) {
}
if sku.Source == 12 {
tagNames = append(tagNames, "当天发货")
if !php2go.InArray("当天发货", tagNames) {
tagNames = append(tagNames, "当天发货")
}
}
goodsTags.GoodsTagNames = tagNames
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment