package subscriptionservicelogic import ( "context" "app-cloudep-trade-service/gen_result/pb/trade" "app-cloudep-trade-service/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type ListSubscriptionsLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewListSubscriptionsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListSubscriptionsLogic { return &ListSubscriptionsLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // ListSubscriptions 查詢所有訂閱 (用於管理和監控) func (l *ListSubscriptionsLogic) ListSubscriptions(in *trade.ListSubscriptionsReq) (*trade.SubscriptionListResp, error) { // todo: add your logic here and delete this line return &trade.SubscriptionListResp{}, nil }