TASK:mixi;
This commit is contained in:
@@ -948,10 +948,12 @@ public class TAppProductService extends ServiceImpl<TProductMapper, TProduct> {
|
||||
List<String> imageUrls = outfitRecommendation.getImageUrls();
|
||||
List<String> pictureNames = new ArrayList<>();
|
||||
for (String imageUrl : imageUrls) {
|
||||
String[] split = imageUrl.split("\\.jpg\\?");
|
||||
String[] split = imageUrl.split("\\?");
|
||||
String s = split[0];
|
||||
String[] split1 = s.split("/");
|
||||
String pictureName = split1[split1.length - 1];
|
||||
String fileName = split1[split1.length - 1];
|
||||
String[] split2 = fileName.split("\\.");
|
||||
String pictureName = split2[0];
|
||||
pictureNames.add(pictureName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user