152 lines
3.1 KiB
Java
152 lines
3.1 KiB
Java
package digital.application.service;
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import digital.application.dto.*;
|
|
import digital.application.dto.tjHair.GetHairDataDTO;
|
|
import digital.application.entity.SysFile;
|
|
import digital.base.vo.Result;
|
|
import digital.bean.task.DpUser;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
import java.io.IOException;
|
|
|
|
public interface ISysFileService extends IService<SysFile> {
|
|
|
|
/**
|
|
* 衣服类型图片-分页列表查询
|
|
*
|
|
* @param page
|
|
* @param clothType
|
|
* @return
|
|
*/
|
|
Result<?> queryClothTypeList(Page<SysFile> page, String clothType);
|
|
|
|
/**
|
|
* 上传图片分类
|
|
*
|
|
* @return
|
|
*/
|
|
Result<?> uploadCloth(UploadClothDTO uploadClothDTO);
|
|
|
|
/**
|
|
* 衣服类型图片所有数据查询
|
|
*
|
|
* @param clothType
|
|
* @return
|
|
*/
|
|
Result<?> clothList(QueryClothTypeDTO clothType);
|
|
|
|
Result<?> uploadFileCloth(MultipartFile files);
|
|
|
|
Result<?> uploadModel(MultipartFile file, String sex) throws IOException;
|
|
|
|
/**
|
|
* 获取模特列表
|
|
*
|
|
* @return
|
|
*/
|
|
Result<?> getModelList(GetModelDTO sex);
|
|
|
|
/**
|
|
* 试穿
|
|
*
|
|
* @param tryOnDTO
|
|
* @return
|
|
*/
|
|
Result<?> tryOn(TryOnDTO tryOnDTO);
|
|
|
|
/**
|
|
* @param callBackDTO
|
|
* @return
|
|
*/
|
|
Result<?> callBack(CallBackDTO callBackDTO);
|
|
|
|
/**
|
|
* 抓取图片
|
|
*
|
|
* @param crawlerUrl
|
|
* @return
|
|
*/
|
|
Result<?> grabPicture(String crawlerUrl);
|
|
|
|
/**
|
|
* 加入衣橱
|
|
*
|
|
* @param addWardrobeDTO
|
|
* @return
|
|
*/
|
|
Result<?> addWardrobe(AddWardrobeDTO addWardrobeDTO);
|
|
|
|
/**
|
|
* 取消加入
|
|
*
|
|
* @param unJoinDTO
|
|
* @return
|
|
*/
|
|
Result<?> unJoin(UnJoinDTO unJoinDTO);
|
|
|
|
/**
|
|
* 查看试穿历史数据
|
|
*
|
|
* @return
|
|
*/
|
|
Result<?> getTryOnHistory();
|
|
|
|
|
|
/**
|
|
* 查看写死手机号试穿的历史数据
|
|
*
|
|
* @return
|
|
*/
|
|
Result<?> getTargetTryOnHistory(DpUser dpUser);
|
|
|
|
|
|
/**
|
|
* 加入套装
|
|
*
|
|
* @param addSuitDTO
|
|
* @return
|
|
*/
|
|
Result<?> addSuit(AddSuitDTO addSuitDTO);
|
|
|
|
/**
|
|
* @param file
|
|
* @return
|
|
*/
|
|
Result<?> uploadAvatar(MultipartFile file);
|
|
|
|
Result<?> tryOnCallBack(TryOnCallBackDTO tryOnCallBackDTO);
|
|
|
|
Result<?> unTryOn(UnTryOnDTO unTryOnDTO);
|
|
|
|
/**
|
|
* 批量删除历史数据
|
|
*
|
|
* @param batchDelHistoryDTO
|
|
* @return
|
|
*/
|
|
Result<?> batchDelHistory(BatchDelHistoryDTO batchDelHistoryDTO);
|
|
|
|
/**
|
|
* 购买链接
|
|
*
|
|
* @param buyLinksDTO
|
|
* @return
|
|
*/
|
|
Result<?> buyLink(BuyLinksDTO buyLinksDTO);
|
|
|
|
Result<?> batchUploadClothFile(MultipartFile[] files);
|
|
|
|
Result<?> getHairData(GetHairDataDTO getHairData);
|
|
|
|
Result<?> swapHair(DpUser dpUser, String isHr, String clothIds, MultipartFile[] file, String sex);
|
|
|
|
Result<?> swapHairAsync(DpUser dpUser, String isHr, String clothIds, MultipartFile[] file, String modelUrls, String sex);
|
|
|
|
Result<?> getSwapHairHistory(DpUser dpUser);
|
|
|
|
Result<?> getSwapHairHistoryByTaskId(String taskId);
|
|
}
|