diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 02ac2e232..b5660b651 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1728,6 +1728,9 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { dao.WrapAddIDCULDEntity(storeMap, "jxadmin") err = dao.CreateEntity(db, storeMap) + if configs, err := dao.QueryConfigs(dao.GetDB(), "jdsCookie2", model.ConfigTypeCookie, ""); err == nil { + api.JdShop2API.SetCookieWithStr(configs[0].Value) + } if shopDetailResult, err := api.JdShop2API.ShopDetail(utils.Str2Int(vendorStoreID)); err == nil { if store.Licence != "" { data, _, _ := jxutils.DownloadFileByURL(store.Licence)