12345678910111213141516171819202122232425262728293031 |
- package logic
- import (
- "context"
- "app.yhyue.com/moapp/jyResourcesCenter/rpc/internal/svc"
- "app.yhyue.com/moapp/jyResourcesCenter/rpc/resourcesCenter"
- "github.com/tal-tech/go-zero/core/logx"
- )
- type FindPreviewLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewFindPreviewLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindPreviewLogic {
- return &FindPreviewLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 预览信息
- func (l *FindPreviewLogic) FindPreview(in *resourcesCenter.PreviewReq) (*resourcesCenter.ConsumeRecordRes, error) {
- // todo: add your logic here and delete this line
- return &resourcesCenter.ConsumeRecordRes{}, nil
- }
|