|
123456789101112131415161718192021222324252627282930313233 |
- package participantservicelogic
-
- import (
- "context"
- "fmt"
-
- "gitlink.org.cn/jcce-pcm/pcm-coordinator/rpc/internal/svc"
- "gitlink.org.cn/jcce-pcm/pcm-coordinator/rpc/pcmCore"
-
- "github.com/zeromicro/go-zero/core/logx"
- )
-
- type ListParticipantLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
-
- func NewListParticipantLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListParticipantLogic {
- return &ListParticipantLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
-
- // listParticipant 服务列表
- func (l *ListParticipantLogic) ListParticipant(in *pcmCore.ParticipantTenant) (*pcmCore.ParticipantResp, error) {
- // todo: add your logic here and delete this line
- clients := ClientList()
- fmt.Println(clients)
- return &pcmCore.ParticipantResp{}, nil
- }
|