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
bc3ef257
Commit
bc3ef257
authored
Nov 25, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签到分享2
parent
7dcf501c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/UserSigninServiceImpl.java
.../main/java/com/wwdz/ch/wx/impl/UserSigninServiceImpl.java
+3
-2
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/UserSigninServiceImpl.java
View file @
bc3ef257
package
com.wwdz.ch.wx.impl
;
import
com.fasterxml.jackson.databind.ObjectMapper
;
import
com.wwdz.ch.core.consts.CommConsts
;
import
com.wwdz.ch.core.consts.DistributionEnum
;
import
com.wwdz.ch.core.consts.SigninEnum
;
...
...
@@ -18,6 +19,7 @@ import com.wwdz.ch.db.dto.request.UserSignInRequestDto;
import
com.wwdz.ch.wx.entity.vo.SignInRewardVo
;
import
com.wwdz.ch.wx.service.UserSigninService
;
import
com.xxdxxs.utils.DateUtils
;
import
com.xxdxxs.utils.JsonUtils
;
import
com.xxdxxs.utils.StringUtils
;
import
org.json.JSONObject
;
import
org.slf4j.Logger
;
...
...
@@ -321,8 +323,7 @@ public class UserSigninServiceImpl implements UserSigninService {
String
url
=
"https://quanku.wanwudezhi.com/daily_data"
;
OkHttpUtil
okHttpUtil
=
OkHttpUtil
.
builder
().
url
(
url
);
String
responseStr
=
okHttpUtil
.
get
().
sync
();
JSONObject
jsonObject
=
new
JSONObject
(
responseStr
);
map
.
put
(
"info"
,
jsonObject
);
map
.
put
(
"info"
,
JsonUtils
.
toMap
(
responseStr
));
String
backgroundImage
=
"https://cdn.wanwudezhi.com/static/web-static/image/a193ed538686e6921cd3d611569043f5_1974x2964.jpeg"
;
map
.
put
(
"backgroundImage"
,
backgroundImage
);
User
user
=
cacheUtil
.
getAppletUserById
(
dto
.
getUserId
());
...
...
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