From 77183df91dfffd3fcd888b7f300834d50e9d2de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 3 Dec 2020 16:12:36 +0800 Subject: [PATCH] a --- business/jxstore/tempop/tempop.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index c22ead2ea..839778aa6 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1639,11 +1639,12 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { if strings.Contains(storeName, " ") { storeName = storeName[0:strings.Index(storeName, " ")] + storeName[strings.Index(storeName, " ")+1:len(storeName)] } + storeName = "京西菜市" + strings.ReplaceAll(storeName, "店", "") + "生鲜店" if len(storeName) > 30 { storeName = storeName[:30] } param := &jdshopapi.UpdateBasicParam{ - StoreName: "京西菜市" + strings.ReplaceAll(storeName, "店", "") + "生鲜店", + StoreName: storeName, CategoryID2: 4, Coordinate: utils.Float64ToStr(jxutils.IntCoordinate2Standard(store.Lat)) + "," + utils.Float64ToStr(jxutils.IntCoordinate2Standard(store.Lng)), BussinessBeginTime: int2TimeStr(int(store.OpenTime1)),