商品数据不存在
This commit is contained in:
parent
6c735d38f2
commit
1a07ff016d
|
|
@ -63,6 +63,9 @@ func (r *ProductRepoImpl) GetByProductNo(ctx context.Context, productNo string)
|
||||||
}
|
}
|
||||||
|
|
||||||
item, err = r.getByProductNo(ctx, item, productNo)
|
item, err = r.getByProductNo(ctx, item, productNo)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
b, err3 := json.Marshal(item)
|
b, err3 := json.Marshal(item)
|
||||||
if err3 != nil {
|
if err3 != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue