feat: diff wecom
CI / changes (push) Successful in 39s
CI / ad (push) Successful in 28s
CI / admin (push) Successful in 21s
CI / bff (push) Successful in 20s
CI / chore (push) Successful in 29s
CI / equipment (push) Failing after 9s
CI / express (push) Successful in 20s
CI / factory (push) Successful in 21s
CI / payment (push) Successful in 22s
CI / product (push) Successful in 27s
CI / record (push) Successful in 26s
CI / sale (push) Successful in 32s
CI / task (push) Successful in 25s
CI / user (push) Successful in 31s
CI / wecom (push) Successful in 33s

This commit is contained in:
zzw
2026-09-18 17:44:26 +08:00
74 changed files with 5811 additions and 337 deletions
+8 -4
View File
@@ -26,6 +26,8 @@ type (
RegionsByIdsReq = chore.RegionsByIdsReq
RegionsReq = chore.RegionsReq
Response = chore.Response
SendPasswordReq = chore.SendPasswordReq
SendPasswordResp = chore.SendPasswordResp
SendSmsReq = chore.SendSmsReq
StatusReq = chore.StatusReq
SystemEditReq = chore.SystemEditReq
@@ -46,10 +48,9 @@ type (
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)
// 服务间:写入编辑申请日志
InternalActionApplyLogCreate(ctx context.Context, in *InternalActionApplyLogCreateReq, opts ...grpc.CallOption) (*InternalActionApplyLogCreateData, error)
SendPassword(ctx context.Context, in *SendPasswordReq, opts ...grpc.CallOption) (*SendPasswordResp, error)
}
defaultChore struct {
@@ -133,14 +134,17 @@ func (m *defaultChore) SystemItems(ctx context.Context, in *EmptyReq, opts ...gr
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...)
}
// 服务间:写入编辑申请日志
func (m *defaultChore) InternalActionApplyLogCreate(ctx context.Context, in *InternalActionApplyLogCreateReq, opts ...grpc.CallOption) (*InternalActionApplyLogCreateData, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.InternalActionApplyLogCreate(ctx, in, opts...)
}
func (m *defaultChore) SendPassword(ctx context.Context, in *SendPasswordReq, opts ...grpc.CallOption) (*SendPasswordResp, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.SendPassword(ctx, in, opts...)
}