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 QuerySubscriptionLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewQuerySubscriptionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QuerySubscriptionLogic { return &QuerySubscriptionLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // QuerySubscription 查詢單一訂閱資訊 func (l *QuerySubscriptionLogic) QuerySubscription(in *trade.SubscriptionQueryReq) (*trade.SubscriptionResp, error) { // todo: add your logic here and delete this line return &trade.SubscriptionResp{}, nil }