temp
This commit is contained in:
@@ -48,3 +48,8 @@ func (s *ProductServer) GetProductById(ctx context.Context, in *sentinel.GetReco
|
||||
l := productlogic.NewGetProductByIdLogic(ctx, s.svcCtx)
|
||||
return l.GetProductById(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) GetProductByCode(ctx context.Context, in *sentinel.GetRecordByCodeRequest) (*sentinel.Product, error) {
|
||||
l := productlogic.NewGetProductByCodeLogic(ctx, s.svcCtx)
|
||||
return l.GetProductByCode(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user