public BaseResponse <string> GetImgFileThumbnailPathByFilePath(string path, GetImgFileThumbnailRequest condtion) { if (condtion == null) { condtion = new GetImgFileThumbnailRequest(); } var imgPath = BaseFile.GetImgFileThumbnailPath(path, condtion); return(BaseResponse.getResult(imgPath, "success")); }
public BaseResponse <string> GetImgFileThumbnailPathByFileId(string id, GetImgFileThumbnailRequest condtion) { if (condtion == null) { condtion = new GetImgFileThumbnailRequest(); } var fileInfo = BaseFile.GetInstance(id); var imgPath = fileInfo.GetImgFileThumbnailPath(condtion); return(BaseResponse.getResult(imgPath, "success")); }