Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
on-site-service
Project
Project
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
external
on-site-service
Commits
19a159f4
Commit
19a159f4
authored
Aug 03, 2022
by
lining
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 首页底部图片
parent
bfdf0f07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
HomeViewVO.java
...nsiteservice/miniapp/controller/common/vo/HomeViewVO.java
+3
-0
HomeCommonService.java
...teservice/miniapp/service/category/HomeCommonService.java
+4
-0
No files found.
mini-app/src/main/java/com/onsiteservice/miniapp/controller/common/vo/HomeViewVO.java
View file @
19a159f4
...
...
@@ -30,4 +30,7 @@ public class HomeViewVO {
@ApiModelProperty
(
"0 普通用户 1 客服 2 估价员 3 销售"
)
private
Integer
roleType
;
@ApiModelProperty
(
"首页底部图片"
)
private
String
bottomImage
;
}
\ No newline at end of file
mini-app/src/main/java/com/onsiteservice/miniapp/service/category/HomeCommonService.java
View file @
19a159f4
...
...
@@ -80,10 +80,14 @@ public class HomeCommonService {
// 服务
Result
<
List
<
ServiceCategoryVO
>>
serviceResult
=
serviceCategoryService
.
list
(
null
);
// 首页底部图片
String
bottomImage
=
sysParamMapper
.
selectOne
(
SysParam
.
builder
().
code
(
SysParamConstants
.
HOME_BOTTOM_IMAGE
).
build
()).
getValue
();
HomeViewVO
homeViewVO
=
HomeViewVO
.
builder
()
.
bannerList
(
bannerVOList
)
.
noticeList
(
homeNoticeVOList
)
.
serviceList
(
serviceResult
.
getData
())
.
bottomImage
(
bottomImage
)
.
build
();
return
ResultGenerator
.
success
(
homeViewVO
);
...
...
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