app-cloudep-trade-service/internal/logic/subscriptionservice/check_subscription_status_l...

32 lines
842 B
Go
Raw Permalink Normal View History

2024-10-25 10:17:27 +00:00
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
}