feat: product number
CI / changes (push) Successful in 36s
CI / docker-bff (push) Successful in 3m8s
CI / docker-product (push) Successful in 3m36s
CI / docker-admin (push) Successful in 3m35s
CI / docker-user (push) Successful in 9s
CI / docker-ad (push) Successful in 29s
CI / docker-chore (push) Failing after 4s

This commit is contained in:
zzw
2026-08-26 16:53:50 +08:00
parent 0ca3f6d84f
commit 72d55d396d
39 changed files with 1284 additions and 363 deletions
+7
View File
@@ -16,9 +16,11 @@ import (
type (
PolicyReq = chore.PolicyReq
Response = chore.Response
TestReq = chore.TestReq
Chore interface {
Policy(ctx context.Context, in *PolicyReq, opts ...grpc.CallOption) (*Response, error)
Test(ctx context.Context, in *TestReq, opts ...grpc.CallOption) (*Response, error)
}
defaultChore struct {
@@ -36,3 +38,8 @@ func (m *defaultChore) Policy(ctx context.Context, in *PolicyReq, opts ...grpc.C
client := chore.NewChoreClient(m.cli.Conn())
return client.Policy(ctx, in, opts...)
}
func (m *defaultChore) Test(ctx context.Context, in *TestReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.Test(ctx, in, opts...)
}