mirror of
https://github.com/kekingcn/kkFileView.git
synced 2026-03-30 03:34:54 +00:00
27 lines
724 B
Java
27 lines
724 B
Java
package cn.keking.service.impl;
|
|
|
|
import cn.keking.model.FileAttribute;
|
|
import cn.keking.service.FilePreview;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.ui.Model;
|
|
|
|
/**
|
|
* Created by kl on 2018/1/17.
|
|
* Content :图片文件处理
|
|
*/
|
|
@Service
|
|
public class Online3DFilePreviewImpl implements FilePreview {
|
|
|
|
private final CommonPreviewImpl commonPreview;
|
|
|
|
public Online3DFilePreviewImpl(CommonPreviewImpl commonPreview) {
|
|
this.commonPreview = commonPreview;
|
|
}
|
|
|
|
@Override
|
|
public String filePreviewHandle(String url, Model model, FileAttribute fileAttribute) {
|
|
commonPreview.filePreviewHandle(url,model,fileAttribute);
|
|
return Online3D_FILE_PAGE;
|
|
}
|
|
}
|