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
678af28e
Commit
678af28e
authored
May 30, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug/1004838' into 'master'
bug: [1004838] 小程序动态优化 See merge request rays/pcloud-book!1313
parents
1faaa7aa
a126258f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
AppletUserBookcaseBizImpl.java
...cloud/book/applet/biz/impl/AppletUserBookcaseBizImpl.java
+9
-0
ReaderConsr.java
...ain/java/com/pcloud/book/consumer/reader/ReaderConsr.java
+8
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/applet/biz/impl/AppletUserBookcaseBizImpl.java
View file @
678af28e
...
@@ -185,6 +185,15 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
...
@@ -185,6 +185,15 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
if
(
null
!=
gradeId
)
{
if
(
null
!=
gradeId
)
{
readerConsr
.
addUserGradeLabel
(
appletUserBookcase
.
getWechatUserId
(),
appletUserBookcase
.
getOfficialAccountsId
(),
gradeId
);
readerConsr
.
addUserGradeLabel
(
appletUserBookcase
.
getWechatUserId
(),
appletUserBookcase
.
getOfficialAccountsId
(),
gradeId
);
}
}
//更新用户书籍标签
if
(
null
!=
bookAdviserDto
.
getTempletId
())
{
try
{
//更新用户年级标签
readerConsr
.
updateUserClassify
(
appletUserBookcase
.
getWechatUserId
(),
bookAdviserDto
.
getTempletId
(),
bookAdviserDto
.
getSecondTempletId
(),
bookAdviserDto
.
getThirdTempletId
());
}
catch
(
Exception
e
)
{
log
.
error
(
"用户添加书籍时更新动态updateUserGradeLabel失败"
,
e
.
getMessage
());
}
}
}
}
private
void
delBookcaseRedis
(
Long
wechatUserId
,
Long
officialAccountsId
)
{
private
void
delBookcaseRedis
(
Long
wechatUserId
,
Long
officialAccountsId
)
{
...
...
pcloud-service-book/src/main/java/com/pcloud/book/consumer/reader/ReaderConsr.java
View file @
678af28e
...
@@ -442,6 +442,14 @@ public class ReaderConsr {
...
@@ -442,6 +442,14 @@ public class ReaderConsr {
}
}
return
list
;
return
list
;
}
}
public
void
updateUserClassify
(
Long
wechatUserId
,
Long
templetId
,
Long
secondTempletId
,
Long
thirdTempletId
)
{
try
{
appletUserService
.
updateUserClassify
(
wechatUserId
,
templetId
,
secondTempletId
,
thirdTempletId
);
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
"appletUserService.updateUserClassify"
+
e
.
getMessage
(),
e
);
}
}
}
}
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