feat: internal product items
This commit is contained in:
@@ -15,6 +15,7 @@ import (
|
||||
|
||||
type (
|
||||
DecryptMobileReq = chore.DecryptMobileReq
|
||||
DocumentReq = chore.DocumentReq
|
||||
EditReq = chore.EditReq
|
||||
EmptyReq = chore.EmptyReq
|
||||
IdReq = chore.IdReq
|
||||
@@ -55,6 +56,7 @@ 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)
|
||||
Document(ctx context.Context, in *DocumentReq, opts ...grpc.CallOption) (*Response, error)
|
||||
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)
|
||||
@@ -153,6 +155,11 @@ func (m *defaultChore) SystemItems(ctx context.Context, in *EmptyReq, opts ...gr
|
||||
return client.SystemItems(ctx, in, opts...)
|
||||
}
|
||||
|
||||
func (m *defaultChore) Document(ctx context.Context, in *DocumentReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
client := chore.NewChoreClient(m.cli.Conn())
|
||||
return client.Document(ctx, in, opts...)
|
||||
}
|
||||
|
||||
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...)
|
||||
|
||||
Reference in New Issue
Block a user