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
fb5a49e9
Commit
fb5a49e9
authored
Jan 20, 2025
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
默认头像
parent
f39ac403
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
ch-core/src/main/java/com/wwdz/ch/core/consts/CommConsts.java
...ore/src/main/java/com/wwdz/ch/core/consts/CommConsts.java
+3
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/qiandao/QdHomePageServiceImpl.java
...va/com/wwdz/ch/wx/impl/qiandao/QdHomePageServiceImpl.java
+1
-1
No files found.
ch-core/src/main/java/com/wwdz/ch/core/consts/CommConsts.java
View file @
fb5a49e9
...
...
@@ -97,6 +97,9 @@ public interface CommConsts {
*/
public
static
final
String
DEFAULT_AVATAR_URL
=
"https://cdn.wanwudezhi.com/mall-portal/image/4337400862"
;
public
static
final
String
QIANDAO_DEFAULT_AVATAR_URL
=
"https://cdn.wanwudezhi.com/static/web-static/image/9d5720eac078c85868021eac048bfcd9_200x200.png"
;
/**
* 系统默认用户背景URL
*/
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/qiandao/QdHomePageServiceImpl.java
View file @
fb5a49e9
...
...
@@ -93,7 +93,7 @@ public class QdHomePageServiceImpl implements QdHomePageService {
long
taskNum
=
qdUserSignInTaskDao
.
count
(
userId
);
map
.
put
(
"taskNum"
,
taskNum
);
map
.
put
(
"nickName"
,
StringUtils
.
isEmpty
(
qdUser
.
getNickName
())
?
"微信用户"
:
qdUser
.
getNickName
());
map
.
put
(
"avatar"
,
StringUtils
.
isEmpty
(
qdUser
.
getAvatar
())
?
CommConsts
.
DEFAULT_AVATAR
:
qdUser
.
getAvatar
());
map
.
put
(
"avatar"
,
StringUtils
.
isEmpty
(
qdUser
.
getAvatar
())
?
CommConsts
.
QIANDAO_DEFAULT_AVATAR_URL
:
qdUser
.
getAvatar
());
//如果没有参加的签到任务,则需要查询出任务列表
if
(
taskNum
==
0
)
{
SignInTaskRequestDto
signInTaskRequestDto
=
new
SignInTaskRequestDto
();
...
...
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