com.taotao.boot.oss.tencent.TencentUploadFileServiceImpl Maven / Gradle / Ivy
/*
* Copyright (c) 2020-2030, Shuigedeng ([email protected] & https://blog.taotaocloud.top/).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.taotao.boot.oss.tencent;
import com.taotao.boot.oss.common.exception.UploadFileException;
import com.taotao.boot.oss.common.model.UploadFileInfo;
import com.taotao.boot.oss.common.service.AbstractUploadFileService;
import org.springframework.web.multipart.MultipartFile;
import java.io.File;
/**
* NginxUploadFileService
*
* @author shuigedeng
* @version 2022.03
* @since 2021/08/24 16:12
*/
public class TencentUploadFileServiceImpl extends AbstractUploadFileService {
private final TencentProperties properties;
public TencentUploadFileServiceImpl(TencentProperties properties) {
this.properties = properties;
}
@Override
protected UploadFileInfo uploadFile(MultipartFile file, UploadFileInfo uploadFileInfo) throws UploadFileException {
return null;
}
@Override
protected UploadFileInfo uploadFile(File file, UploadFileInfo uploadFileInfo) throws UploadFileException {
return null;
}
@Override
public UploadFileInfo delete(UploadFileInfo uploadFileInfo) throws UploadFileException {
return null;
}
}