package logic import ( "context" "points_service/rpc/integral" "points_service/rpc/internal/svc" "github.com/tal-tech/go-zero/core/logx" ) type SelectLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewSelectLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SelectLogic { return &SelectLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *SelectLogic) Select(in *integral.CheckReq) (*integral.CheckResp, error) { // todo: add your logic here and delete this line return &integral.CheckResp{}, nil }