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 CheckSubscriptionStatusLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewCheckSubscriptionStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckSubscriptionStatusLogic { return &CheckSubscriptionStatusLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // CheckSubscriptionStatus 查詢訂閱狀態 (啟用/過期/取消) func (l *CheckSubscriptionStatusLogic) CheckSubscriptionStatus(in *trade.SubscriptionStatusQueryReq) (*trade.SubscriptionStatusResp, error) { // todo: add your logic here and delete this line return &trade.SubscriptionStatusResp{}, nil }