BUGFIX:like 修改detail返回图片;
This commit is contained in:
@@ -107,6 +107,8 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
Assert.notNull(group,"History does not exist!");
|
Assert.notNull(group,"History does not exist!");
|
||||||
List<UserLikeVO> userLikeVOS = userLikeService.getGroupDetail(userGroupId);
|
List<UserLikeVO> userLikeVOS = userLikeService.getGroupDetail(userGroupId);
|
||||||
userLikeVOS.forEach(o -> {
|
userLikeVOS.forEach(o -> {
|
||||||
|
TDesignPythonOutfit tDesignPythonOutfit1 = designPythonOutfitMapper.selectById(o.getDesignPythonOutfitId());
|
||||||
|
o.setUrl(tDesignPythonOutfit1.getDesignUrl());
|
||||||
if (o.getUrl().contains("/")) {
|
if (o.getUrl().contains("/")) {
|
||||||
int index = o.getUrl().lastIndexOf("/");
|
int index = o.getUrl().lastIndexOf("/");
|
||||||
o.setPictureName(o.getUrl().substring(index + 1));
|
o.setPictureName(o.getUrl().substring(index + 1));
|
||||||
|
|||||||
Reference in New Issue
Block a user