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
2acae4fb
Commit
2acae4fb
authored
Sep 16, 2019
by
高鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-rsy' into 'master'
学习报告加个头像默认图 See merge request rays/pcloud-book!154
parents
3507a006
3d02452a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
WXGroupLearningReportListener.java
...m/pcloud/book/mq/topic/WXGroupLearningReportListener.java
+5
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/mq/topic/WXGroupLearningReportListener.java
View file @
2acae4fb
...
@@ -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,9 +376,10 @@ public class WXGroupLearningReportListener {
...
@@ -373,9 +376,10 @@ public class WXGroupLearningReportListener {
" ];\n"
+
" ];\n"
+
"\n"
+
"\n"
+
" var html = '';\n"
+
" var html = '';\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
+\n"
+
" html += '<tr><td><span data-index=0' + index + ' class=index></span></td><td><img src=' +
(item.headPic || defaultImg)
+\n"
+
" ' alt=\"headPic\" class=\"headPic\" width=\"64\" height=\"64\"></td><td class=\"nickName\"><span>' + item.nickName +\n"
+
" ' alt=\"headPic\" class=\"headPic\" width=\"64\" height=\"64\"></td><td class=\"nickName\"><span>' + item.nickName +\n"
+
" '</span></td><td><span class=\"strength\">' + item.strength + '</span></td></tr>'\n"
+
" '</span></td><td><span class=\"strength\">' + item.strength + '</span></td></tr>'\n"
+
" });\n"
+
" });\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