From 8c5c0bb83b6c9d0f531da7e077e0eb152c3a0308 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 2 Jan 2020 10:55:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6=E4=BA=AC=E4=B8=9C=E9=97=A8?= =?UTF-8?q?=E5=90=8D=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jd/store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/partner/purchase/jd/store.go b/business/partner/purchase/jd/store.go index 40c97678b..e4c9fdfd1 100644 --- a/business/partner/purchase/jd/store.go +++ b/business/partner/purchase/jd/store.go @@ -152,6 +152,7 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin } else { storeParams.StationName = jxutils.ComposeStoreName(store.Name, model.VendorIDJD) } + storeParams.StationName = utils.LimitUTF8StringLen(storeParams.StationName, jdapi.MaxStoreNameLen) } if store.SyncStatus&(model.SyncFlagNewMask|model.SyncFlagStoreAddress) != 0 { storeParams.StationAddress = store.Address