feat: test product
This commit is contained in:
@@ -51,3 +51,38 @@ func (s *ProductServer) Sort(ctx context.Context, in *product.SortReq) (*product
|
||||
l := logic.NewSortLogic(ctx, s.svcCtx)
|
||||
return l.Sort(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) Verify(ctx context.Context, in *product.VerifyReq) (*product.Response, error) {
|
||||
l := logic.NewVerifyLogic(ctx, s.svcCtx)
|
||||
return l.Verify(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) VerifyFirst(ctx context.Context, in *product.VerifyStatusReq) (*product.Response, error) {
|
||||
l := logic.NewVerifyStatusLogic(ctx, s.svcCtx)
|
||||
return l.VerifyFirst(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) VerifySecond(ctx context.Context, in *product.VerifyStatusReq) (*product.Response, error) {
|
||||
l := logic.NewVerifyStatusLogic(ctx, s.svcCtx)
|
||||
return l.VerifySecond(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) EditApply(ctx context.Context, in *product.EditApplyReq) (*product.Response, error) {
|
||||
l := logic.NewEditApplyLogic(ctx, s.svcCtx)
|
||||
return l.EditApply(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) EditApplyPass(ctx context.Context, in *product.EditApplyPassReq) (*product.Response, error) {
|
||||
l := logic.NewEditApplyLogic(ctx, s.svcCtx)
|
||||
return l.EditApplyPass(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) EditBase(ctx context.Context, in *product.EditBaseReq) (*product.Response, error) {
|
||||
l := logic.NewEditBaseLogic(ctx, s.svcCtx)
|
||||
return l.EditBase(in)
|
||||
}
|
||||
|
||||
func (s *ProductServer) EditSusceptible(ctx context.Context, in *product.EditSusceptibleReq) (*product.Response, error) {
|
||||
l := logic.NewEditSusceptibleLogic(ctx, s.svcCtx)
|
||||
return l.EditSusceptible(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user