package com.chushang.oss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chushang.oss.entity.FileSourceInfo;
import com.chushang.oss.mapper.FileSourceMapper;
import com.chushang.oss.service.OssService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.annotation.Resource;

/**
 * @auther: zhao
 * @date: 2024/4/29 10:25
 */
@Slf4j
@Service
public class FileSourceService
        extends ServiceImpl<FileSourceMapper, FileSourceInfo>
        implements IService<FileSourceInfo>
{

    @Resource
    OssService ossService;


    public FileSourceInfo addFile(MultipartFile file, String ip) {
        return null;
    }
}
