订单下载。jd下单。。
CI / changes (push) Successful in 37s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 17s
CI / bff (push) Successful in 13s
CI / chore (push) Successful in 15s
CI / equipment (push) Successful in 14s
CI / express (push) Successful in 14s
CI / product (push) Successful in 13s
CI / record (push) Successful in 13s
CI / sale (push) Successful in 13s
CI / task (push) Successful in 13s
CI / user (push) Successful in 14s
CI / wecom (push) Successful in 13s

This commit is contained in:
2026-09-09 17:52:07 +08:00
parent bcb8743eca
commit 38e040af07
51 changed files with 2572 additions and 350 deletions
+62 -3
View File
@@ -1,5 +1,5 @@
// Code generated by goctl. DO NOT EDIT.
// goctl 1.10.1
// goctl 1.10.2
// Source: chore.proto
package choreClient
@@ -15,12 +15,17 @@ import (
type (
DecryptMobileReq = chore.DecryptMobileReq
EditReq = chore.EditReq
EmptyReq = chore.EmptyReq
IdReq = chore.IdReq
PolicyReq = chore.PolicyReq
RegionItem = chore.RegionItem
RegionsByIdsData = chore.RegionsByIdsData
RegionsByIdsReq = chore.RegionsByIdsReq
RegionsReq = chore.RegionsReq
Response = chore.Response
StatusReq = chore.StatusReq
SystemEditReq = chore.SystemEditReq
TestReq = chore.TestReq
Chore interface {
@@ -28,7 +33,16 @@ type (
Test(ctx context.Context, in *TestReq, opts ...grpc.CallOption) (*Response, error)
DecryptMobile(ctx context.Context, in *DecryptMobileReq, opts ...grpc.CallOption) (*Response, error)
Regions(ctx context.Context, in *RegionsReq, opts ...grpc.CallOption) (*Response, error)
// 服务间调用:按 id 批量查地区名称
AnswerItems(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*Response, error)
AnswerStatus(ctx context.Context, in *StatusReq, opts ...grpc.CallOption) (*Response, error)
AnswerInfo(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*Response, error)
AnswerCreate(ctx context.Context, in *EditReq, opts ...grpc.CallOption) (*Response, error)
AnswerEdit(ctx context.Context, in *EditReq, opts ...grpc.CallOption) (*Response, error)
SystemEdit(ctx context.Context, in *SystemEditReq, opts ...grpc.CallOption) (*Response, error)
SystemStatus(ctx context.Context, in *StatusReq, opts ...grpc.CallOption) (*Response, error)
SystemInfo(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*Response, error)
SystemItems(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*Response, error)
// 按 id 批量查地区名称
RegionsByIds(ctx context.Context, in *RegionsByIdsReq, opts ...grpc.CallOption) (*RegionsByIdsData, error)
}
@@ -63,7 +77,52 @@ func (m *defaultChore) Regions(ctx context.Context, in *RegionsReq, opts ...grpc
return client.Regions(ctx, in, opts...)
}
// 服务间调用:按 id 批量查地区名称
func (m *defaultChore) AnswerItems(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.AnswerItems(ctx, in, opts...)
}
func (m *defaultChore) AnswerStatus(ctx context.Context, in *StatusReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.AnswerStatus(ctx, in, opts...)
}
func (m *defaultChore) AnswerInfo(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.AnswerInfo(ctx, in, opts...)
}
func (m *defaultChore) AnswerCreate(ctx context.Context, in *EditReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.AnswerCreate(ctx, in, opts...)
}
func (m *defaultChore) AnswerEdit(ctx context.Context, in *EditReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.AnswerEdit(ctx, in, opts...)
}
func (m *defaultChore) SystemEdit(ctx context.Context, in *SystemEditReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.SystemEdit(ctx, in, opts...)
}
func (m *defaultChore) SystemStatus(ctx context.Context, in *StatusReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.SystemStatus(ctx, in, opts...)
}
func (m *defaultChore) SystemInfo(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.SystemInfo(ctx, in, opts...)
}
func (m *defaultChore) SystemItems(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.SystemItems(ctx, in, opts...)
}
// 按 id 批量查地区名称
func (m *defaultChore) RegionsByIds(ctx context.Context, in *RegionsByIdsReq, opts ...grpc.CallOption) (*RegionsByIdsData, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.RegionsByIds(ctx, in, opts...)