diff --git a/business/jxstore/cms/sync2.go b/business/jxstore/cms/sync2.go index 942b2943d..f134cdc7b 100644 --- a/business/jxstore/cms/sync2.go +++ b/business/jxstore/cms/sync2.go @@ -2,6 +2,7 @@ package cms import ( "fmt" + "strings" "time" "git.rosy.net.cn/baseapi/utils" @@ -432,6 +433,12 @@ func OnThingSync(ctx *jxcontext.Context, db *dao.DaoDB, thingMap *model.ThingMap err = syncErr thingMap.Remark = utils.LimitUTF8StringLen(err.Error(), 255) dao.UpdateEntity(db, thingMap, "Remark") + + if thingMap.VendorOrgCode == globals.JdcsOrgCode { + if strings.Contains(err.Error(), "店内分类信息不存在") { + err = nil + } + } } else { updateFields := []string{ model.FieldSyncStatus, diff --git a/business/partner/purchase/ebai/store.go b/business/partner/purchase/ebai/store.go index 87ce68313..fd970cce4 100644 --- a/business/partner/purchase/ebai/store.go +++ b/business/partner/purchase/ebai/store.go @@ -604,7 +604,7 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri param["phone"] = phone param["ivr_phone"] = phone param["service_phone"] = storeDetail.Tel1 - param["address"] = params["address"] + param["address"] = storeDetail.Address param["longitude"] = jxutils.IntCoordinate2Standard(storeDetail.Lng) param["latitude"] = jxutils.IntCoordinate2Standard(storeDetail.Lat) param["coord_type"] = "amap" //高德坐标系