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 CancelSubscriptionLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewCancelSubscriptionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CancelSubscriptionLogic { return &CancelSubscriptionLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // CancelSubscription 取消訂閱 func (l *CancelSubscriptionLogic) CancelSubscription(in *trade.SubscriptionCancelReq) (*trade.OKResp, error) { // todo: add your logic here and delete this line return &trade.OKResp{}, nil }