This commit is contained in:
suyl
2021-07-21 10:38:43 +08:00
parent b6c9982390
commit 677d73e180

View File

@@ -1672,7 +1672,7 @@ func GetJdUpcCodeByName(ctx *jxcontext.Context, name, upcCode string) (productIn
v.Unit = unit
}
//productInfos, err = GetJdUpcCodeByCode(ctx, upcCode)
if len(productInfos) == 0 {
if len(productInfo) == 0 {
if configs, err := dao.QueryConfigs(dao.GetDB(), "mtwmCookieStr", model.ConfigTypeCookie, ""); err == nil {
api.MtwmAPI.SetCookieWithStr(configs[0].Value)
}