Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
f6b07fc2
Commit
f6b07fc2
authored
Sep 12, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
参数详情
parent
b2e3ed7e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
ch-wx-api/src/main/java/com/wwdz/ch/wx/entity/vo/CategoryVo.java
...pi/src/main/java/com/wwdz/ch/wx/entity/vo/CategoryVo.java
+10
-5
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/entity/vo/CategoryVo.java
View file @
f6b07fc2
...
@@ -188,7 +188,11 @@ public class CategoryVo implements Serializable {
...
@@ -188,7 +188,11 @@ public class CategoryVo implements Serializable {
if
(
coinExtraInfoEnum
.
getKey
().
equals
(
"caTableImage"
)
&&
StringUtils
.
isEmpty
(
this
.
caTableImage
))
{
if
(
coinExtraInfoEnum
.
getKey
().
equals
(
"caTableImage"
)
&&
StringUtils
.
isEmpty
(
this
.
caTableImage
))
{
continue
;
continue
;
}
}
if
(
coinExtraInfoEnum
.
getKey
().
equals
(
"desc"
))
{
extraInfoMap
.
put
(
coinExtraInfoEnum
.
getName
(),
category
.
getDesc
());
}
else
{
extraInfoMap
.
put
(
coinExtraInfoEnum
.
getName
(),
extractExtra
(
extraData
,
coinExtraInfoEnum
.
getKey
()));
extraInfoMap
.
put
(
coinExtraInfoEnum
.
getName
(),
extractExtra
(
extraData
,
coinExtraInfoEnum
.
getKey
()));
}
extraInfoList
.
add
(
extraInfoMap
);
extraInfoList
.
add
(
extraInfoMap
);
}
}
}
else
{
}
else
{
...
@@ -197,13 +201,14 @@ public class CategoryVo implements Serializable {
...
@@ -197,13 +201,14 @@ public class CategoryVo implements Serializable {
if
(
coinExtraInfoEnum
.
getKey
().
equals
(
"caTableImage"
))
{
if
(
coinExtraInfoEnum
.
getKey
().
equals
(
"caTableImage"
))
{
continue
;
continue
;
}
}
if
(
coinExtraInfoEnum
.
getKey
().
equals
(
"desc"
))
{
extraInfoMap
.
put
(
coinExtraInfoEnum
.
getName
(),
category
.
getDesc
());
}
else
{
extraInfoMap
.
put
(
coinExtraInfoEnum
.
getName
(),
null
);
extraInfoMap
.
put
(
coinExtraInfoEnum
.
getName
(),
null
);
}
extraInfoList
.
add
(
extraInfoMap
);
extraInfoList
.
add
(
extraInfoMap
);
}
}
}
}
Map
<
String
,
Object
>
extraInfoMap
=
new
HashMap
<>();
extraInfoMap
.
put
(
"desc"
,
category
.
getDesc
());
extraInfoList
.
add
(
extraInfoMap
);
}
}
public
static
CategoryVo
of
(
Category
category
)
{
public
static
CategoryVo
of
(
Category
category
)
{
...
...
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