Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
ef95c1ae
Commit
ef95c1ae
authored
Mar 31, 2023
by
songyinghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 素材图片列表
parent
754b8185
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
InteractRecordController.java
...nage/web/controller/content/InteractRecordController.java
+8
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/InteractRecordController.java
View file @
ef95c1ae
package
com
.
gic
.
haoban
.
manage
.
web
.
controller
.
content
;
package
com
.
gic
.
haoban
.
manage
.
web
.
controller
.
content
;
import
cn.hutool.core.text.StrSpliter
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.commons.webapi.reponse.RestResponse
;
...
@@ -13,6 +14,7 @@ import com.gic.haoban.manage.web.vo.content.ContentMaterialInfoVO;
...
@@ -13,6 +14,7 @@ import com.gic.haoban.manage.web.vo.content.ContentMaterialInfoVO;
import
com.gic.haoban.manage.web.vo.content.InteractRecordVO
;
import
com.gic.haoban.manage.web.vo.content.InteractRecordVO
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -69,6 +71,12 @@ public class InteractRecordController {
...
@@ -69,6 +71,12 @@ public class InteractRecordController {
if
(
materialBaseInfo
!=
null
)
{
if
(
materialBaseInfo
!=
null
)
{
ContentMaterialInfoVO
temp
=
new
ContentMaterialInfoVO
();
ContentMaterialInfoVO
temp
=
new
ContentMaterialInfoVO
();
BeanUtils
.
copyProperties
(
materialBaseInfo
,
temp
);
BeanUtils
.
copyProperties
(
materialBaseInfo
,
temp
);
if
(
StringUtils
.
isNotBlank
(
materialBaseInfo
.
getMaterialThumbnailImageUrls
()))
{
temp
.
setMaterialThumbnailImageUrls
(
StrSpliter
.
split
(
materialBaseInfo
.
getMaterialThumbnailImageUrls
(),
","
,
true
,
true
));
}
if
(
StringUtils
.
isNotBlank
(
materialBaseInfo
.
getMaterialImageUrls
()))
{
temp
.
setMaterialImageUrls
(
StrSpliter
.
split
(
materialBaseInfo
.
getMaterialImageUrls
(),
","
,
true
,
true
));
}
interactRecordVO
.
setContentMaterialInfoVO
(
temp
);
interactRecordVO
.
setContentMaterialInfoVO
(
temp
);
}
}
return
interactRecordVO
;
return
interactRecordVO
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment