Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
3d02452a
Commit
3d02452a
authored
Sep 16, 2019
by
阮思源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
学习报告加个头像默认图
parent
f2837b9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
WXGroupLearningReportListener.java
...m/pcloud/book/mq/topic/WXGroupLearningReportListener.java
+4
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/mq/topic/WXGroupLearningReportListener.java
View file @
3d02452a
...
@@ -140,6 +140,9 @@ public class WXGroupLearningReportListener {
...
@@ -140,6 +140,9 @@ public class WXGroupLearningReportListener {
String
list
=
""
;
String
list
=
""
;
for
(
LearningScoreDTO
learningScoreDTO:
learningScoreDTOS
){
for
(
LearningScoreDTO
learningScoreDTO:
learningScoreDTOS
){
String
headUrl
=
learningScoreDTO
.
getHeadUrl
();
String
headUrl
=
learningScoreDTO
.
getHeadUrl
();
if
(
StringUtil
.
isEmpty
(
headUrl
))
{
headUrl
=
"https://file.5rs.me/oss/uploadfe/png/1d9f1538260e9f9426ed6934f49eda4d.png"
;
}
if
(
headUrl
.
contains
(
"https://oss.5rs.me"
))
{
if
(
headUrl
.
contains
(
"https://oss.5rs.me"
))
{
headUrl
=
headUrl
.
replace
(
"https://oss.5rs.me"
,
"https://file.5rs.me"
);
headUrl
=
headUrl
.
replace
(
"https://oss.5rs.me"
,
"https://file.5rs.me"
);
}
else
if
(
headUrl
.
contains
(
"http://oss.5rs.me"
))
{
}
else
if
(
headUrl
.
contains
(
"http://oss.5rs.me"
))
{
...
@@ -373,7 +376,7 @@ public class WXGroupLearningReportListener {
...
@@ -373,7 +376,7 @@ public class WXGroupLearningReportListener {
" ];\n"
+
" ];\n"
+
"\n"
+
"\n"
+
" var html = '';\n"
+
" var html = '';\n"
+
" var defaultImg = 'https://file.5rs.me/oss/uploadfe/png/
3b40bcbdf39a497981f51ec1f4d71847
.png';\n"
+
" var defaultImg = 'https://file.5rs.me/oss/uploadfe/png/
1d9f1538260e9f9426ed6934f49eda4d
.png';\n"
+
"\n"
+
"\n"
+
" list.forEach((item, index) => {\n"
+
" list.forEach((item, index) => {\n"
+
" html += '<tr><td><span data-index=0' + index + ' class=index></span></td><td><img src=' + (item.headPic || defaultImg) +\n"
+
" html += '<tr><td><span data-index=0' + index + ' class=index></span></td><td><img src=' + (item.headPic || defaultImg) +\n"
+
...
...
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