From 24a30adca79c8884910dfbcea695cdc58ba4923b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 12 Aug 2020 14:09:07 +0800 Subject: [PATCH] =?UTF-8?q?dada=E9=97=A8=E5=BA=97=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/tempop/tempop.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index d16862345..6d9cf1108 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1589,17 +1589,14 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { ) list, err := dao.GetStoreCourierList(db, nil, []int{model.VendorIDDada}, model.StoreStatusAll, model.StoreAuditStatusAll) for _, v := range list { - stores, _ := dao.GetStoreList(db, []int{v.StoreID}, nil, nil, nil, "") sd, _ := api.DadaAPI.ShopDetail(v.VendorStoreID) if !strings.Contains(sd.StationName, globals.StoreName) { shopInfo := &dadaapi.ShopInfo{ OriginShopID: v.VendorStoreID, - StationName: globals.StoreName + "-" + stores[0].Name, + StationName: globals.StoreName + "-" + sd.StationName, } api.DadaAPI.ShopUpdate(shopInfo) } - fmt.Println("testcccc", v.StoreID) - break } return err }