package logic import ( "context" "juwan-backend/app/objectstory/rpc/internal/svc" "juwan-backend/app/objectstory/rpc/pb" "github.com/zeromicro/go-zero/core/logx" ) type GetFileUrlLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGetFileUrlLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetFileUrlLogic { return &GetFileUrlLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 获取文件访问链接(处理私有文件的鉴权) func (l *GetFileUrlLogic) GetFileUrl(in *pb.GetFileUrlReq) (*pb.GetFileUrlResp, error) { // todo: add your logic here and delete this line return &pb.GetFileUrlResp{}, nil }