|
@@ -192,8 +192,13 @@ public class ZoneInfoService {
|
192
|
192
|
// 获取目录下的所有文件
|
193
|
193
|
File[] files = directory.listFiles((dir, name) -> name.endsWith(".pak"));
|
194
|
194
|
assert files != null;
|
195
|
|
- String pakPath = aliOSSUtils.upload(files[0]);
|
196
|
|
- zoneInfo1.setPakPath(pakPath);
|
|
195
|
+ StringBuilder pakPath = new StringBuilder();
|
|
196
|
+ for (File file : files){
|
|
197
|
+ assert false;
|
|
198
|
+ pakPath.append(aliOSSUtils.upload(file)).append(",");
|
|
199
|
+
|
|
200
|
+ }
|
|
201
|
+ zoneInfo1.setPakPath(pakPath.toString());
|
197
|
202
|
zoneInfoRepository.save(zoneInfo1);
|
198
|
203
|
for (TemplateInfo templateInfo : templateInfoList) {
|
199
|
204
|
ModelInfo modelInfo = new ModelInfo();
|