TASK:模块化;

This commit is contained in:
shahaibo
2025-03-31 11:21:45 +08:00
parent 2edf7d211b
commit a2bd2fa6c6
3 changed files with 46 additions and 30 deletions

View File

@@ -701,9 +701,11 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
JSONObject custom = jsonObjectLevel1.getJSONObject("custom");
if (custom.getString("type").equals("init")) {
String minioUrl = jsonObjectLevel1.getString("minioUrl");
JSONObject fill = jsonObjectLevel1.getJSONObject("fill");
fill.put("source", minioUtil.getPreSignedUrl(minioUrl, 24 * 60));
jsonObjectLevel1.put("fill", fill);
if (!StringUtils.isEmpty(minioUrl)) {
JSONObject fill = jsonObjectLevel1.getJSONObject("fill");
fill.put("source", minioUtil.getPreSignedUrl(minioUrl, 24 * 60));
jsonObjectLevel1.put("fill", fill);
}
}
}
objectJSONArrayLevel1.set(i, jsonObjectLevel1);