feat: product number
This commit is contained in:
@@ -85,3 +85,13 @@ func (s *ProductServer) EditSusceptible(ctx context.Context, in *product.EditSus
|
||||
l := logic.NewEditSusceptibleLogic(ctx, s.svcCtx)
|
||||
return l.EditSusceptible(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) Number(ctx context.Context, in *product.NumberReq) (*product.Response, error) {
|
||||
l := logic.NewNumberLogic(ctx, s.svcCtx)
|
||||
return l.Number(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) NumberAdd(ctx context.Context, in *product.NumberAddReq) (*product.Response, error) {
|
||||
l := logic.NewNumberAddLogic(ctx, s.svcCtx)
|
||||
return l.NumberAdd(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user