TASK:模块化;
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user