商品数据不存在

This commit is contained in:
李子铭 2025-03-24 10:54:46 +08:00
parent 6c735d38f2
commit 1a07ff016d
1 changed files with 3 additions and 0 deletions

View File

@ -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 {