aa
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user