|
@@ -318,7 +318,7 @@ public class SceneServiceImpl extends IBaseServiceImpl<SceneEntity, Long> implem
|
|
|
ZipUtil.zip(new File(outPath), true, new File(mapsPath) , new File(objPath), new File(mntPath));
|
|
|
log.info("obj.zip压缩完成: {}", outPath);
|
|
|
|
|
|
- // 返回url, 网页下载
|
|
|
+ // 返回url, 网页下载, 前端拼接路径下载(使用nginx需要配置一下)
|
|
|
// Object url = configConstant.serverDomain + "/" + code + "/obj.zip";
|
|
|
Object url = "/" + code + "/obj.zip";
|
|
|
log.info("下载地址: {}", url);
|