feat: test product

This commit is contained in:
zzw
2026-08-11 09:30:38 +08:00
parent a38fff4917
commit bdc582ad5f
22 changed files with 2730 additions and 75 deletions
+35
View File
@@ -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)
}