添加没团力荐

This commit is contained in:
邹宗楠
2023-03-28 18:01:36 +08:00
parent 1f531bd32f
commit 4571d03838
6 changed files with 21 additions and 17 deletions

View File

@@ -748,7 +748,7 @@ func (p *PurchaseHandler) UpdateStoreSkusSpecTag(ctx *jxcontext.Context, vendorO
var foodDataList = []map[string]interface{}{}
for _, v := range storeSkuList {
var foodData = make(map[string]interface{})
if v.IsSpecialty != 0 && v.IsSpecialty == -1 {
if v.IsSpecialty == -1 {
v.IsSpecialty = 0
}
foodData["is_specialty"] = v.IsSpecialty