This commit is contained in:
邹宗楠
2026-07-14 14:26:57 +08:00
parent fd5e61b249
commit d76fce41ad
4 changed files with 17 additions and 36 deletions

View File

@@ -360,7 +360,6 @@ func IntCoordinate2MarsStandard(gpsLng, gpsLat int, coordinateType int) (marsLng
Type: coordSys,
})
if err != nil {
globals.SugarLogger.Debugf("--TencentCoordinateChange err := %v", err)
return marsLng, marsLat, nil
}
@@ -1130,7 +1129,6 @@ func MixWatermarkImg(imgWatermark, img string, exPrefixBegin, exPrefixEnd *time.
} else {
imgUrl = img + "?imageView2/0/q/75|watermark/1/image/" + baseURL + "/dissolve/100/gravity/Center/dx/0/dy/0"
}
globals.SugarLogger.Debugf("---imgUrl := %s", imgUrl)
if resBinary, _, err := DownloadFileByURL(imgUrl); err == nil {
downloadURL, err := UploadExportContent(resBinary, utils.Int64ToStr(time.Now().Unix())+img[strings.LastIndex(img, "/")+1:len(img)])
if err == nil {

View File

@@ -702,10 +702,6 @@ func GetStoreSkus2(db *DaoDB, vendorID, storeID int, skuIDs []int, mustDirty boo
}
sql = fmt.Sprintf(sql, fmtParams...)
sql += " ORDER BY t1.price"
if storeID == 669148 {
globals.SugarLogger.Debugf("----------sql := %s", sql)
globals.SugarLogger.Debugf("----------sqlParams := %s", utils.Format4Output(sqlParams, false))
}
if err = GetRows(db, &skus, sql, sqlParams...); err != nil {
return nil, err
}

View File

@@ -400,7 +400,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
// img5 = storeSku.Img
//}
if storeSku.ImgMix != "" && ((storeSku.BrandID == storeSku.ExBrandID && storeSku.ExBrandID != 0) || storeSku.ExBrandID == 0) {
foodData["picture"] = strings.Join(jxutils.BatchString2Slice(storeSku.ImgMix, img2, img3, img4, img5), ",")
foodData["picture"] = strings.Join(jxutils.BatchString2Slice(storeSku.ImgMix, storeSku.Img, img2, img3, img4, img5), ",")
} else {
foodData["picture"] = strings.Join(jxutils.BatchString2Slice(storeSku.Img, img2, img3, img4, img5), ",")
}
@@ -471,10 +471,6 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
}
if storeID == 668530 {
globals.SugarLogger.Debugf("------storeSkuList:%s,%s", syncType, utils.Format4Output(storeSkuList, false))
globals.SugarLogger.Debugf("------foodDataList:%s", utils.Format4Output(foodDataList, false))
}
api := getAPI(getStoreVendorOrgCode(storeID), storeID, vendorStoreID)
if globals.EnableMtwmStoreWrite {
if len(foodDataList) == 1 {