|
@@ -168,6 +168,9 @@ public class AliOssServiceImpl implements AliOssService {
|
|
|
*/
|
|
|
private void downloadGuideThumb(Map<String, String> iconMap, String workId){
|
|
|
String savePath = configConstant.serverBasePath + "/download/" + workId + "/images/";
|
|
|
+ if (!FileUtil.exist(savePath)){
|
|
|
+ FileUtil.mkdir(savePath);
|
|
|
+ }
|
|
|
for (Map.Entry<String, String> m : iconMap.entrySet()) {
|
|
|
String sceneCode = m.getKey();
|
|
|
String ossUrl = m.getValue();
|