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
ce749d8c
Commit
ce749d8c
authored
Jan 21, 2020
by
阮思源
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-1002244' into 'master'
【ID1002244】个人号部分文案调整0120 See merge request rays/pcloud-book!316
parents
7c6f18a2
766ee49a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
BookGuideBizImpl.java
...a/com/pcloud/book/keywords/biz/impl/BookGuideBizImpl.java
+2
-1
BookKeywordBizImpl.java
...com/pcloud/book/keywords/biz/impl/BookKeywordBizImpl.java
+1
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/keywords/biz/impl/BookGuideBizImpl.java
View file @
ce749d8c
...
@@ -122,7 +122,8 @@ public class BookGuideBizImpl implements BookGuideBiz {
...
@@ -122,7 +122,8 @@ public class BookGuideBizImpl implements BookGuideBiz {
//如果暗号为空,表示直接加好友,需要发送统一欢迎语
//如果暗号为空,表示直接加好友,需要发送统一欢迎语
if
(
cipher
==
null
)
{
if
(
cipher
==
null
)
{
SendTextMessageVO
vo
=
new
SendTextMessageVO
();
SendTextMessageVO
vo
=
new
SendTextMessageVO
();
vo
.
setContent
(
"终于和您见面了!\n请告诉我您在读哪本书?\n您可以在书中二维码旁找到本书的识别码,以微信聊天的形式发给我。"
);
vo
.
setContent
(
"终于和您见面了!\n请告诉我您在读哪本书?\n如果您在上一步中复制了暗号,\n您可以把暗号粘贴在下方对话框内,以微信聊天的形式发给我。"
+
"\n如果在上一步中,没有提示您复制暗号,\n您可以在【书中二维码旁】找到本书的简称及年份,\n在下方对话框内输入本书简称及年份,以微信聊天的形式发给我。"
);
vo
.
setCode
(
SendMessageTypeEnum
.
SELF
.
getCode
());
vo
.
setCode
(
SendMessageTypeEnum
.
SELF
.
getCode
());
vo
.
setWxId
(
agreeAddUserDTO
.
getRobotWxId
());
vo
.
setWxId
(
agreeAddUserDTO
.
getRobotWxId
());
vo
.
setAltId
(
agreeAddUserDTO
.
getRobotWxId
());
vo
.
setAltId
(
agreeAddUserDTO
.
getRobotWxId
());
...
...
pcloud-service-book/src/main/java/com/pcloud/book/keywords/biz/impl/BookKeywordBizImpl.java
View file @
ce749d8c
...
@@ -634,7 +634,7 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
...
@@ -634,7 +634,7 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
String
altIdAndWxId
=
sendTextDTO
.
getWxId
()
+
"_"
+
sendTextDTO
.
getWechatUserId
();
String
altIdAndWxId
=
sendTextDTO
.
getWxId
()
+
"_"
+
sendTextDTO
.
getWechatUserId
();
Integer
send
=
JedisClusterUtils
.
hgetJson2Class
(
REPLY_ERROR_SHORT_BOOK_NAME_CACHE
,
altIdAndWxId
,
Integer
.
class
);
Integer
send
=
JedisClusterUtils
.
hgetJson2Class
(
REPLY_ERROR_SHORT_BOOK_NAME_CACHE
,
altIdAndWxId
,
Integer
.
class
);
if
(
send
==
null
)
{
if
(
send
==
null
)
{
sendText
(
sendTextDTO
,
"
识别码
发送错误,请核对后重新发送。"
);
sendText
(
sendTextDTO
,
"发送错误,请核对后重新发送。"
);
JedisClusterUtils
.
hset2Json
(
REPLY_ERROR_SHORT_BOOK_NAME_CACHE
,
altIdAndWxId
,
1
);
JedisClusterUtils
.
hset2Json
(
REPLY_ERROR_SHORT_BOOK_NAME_CACHE
,
altIdAndWxId
,
1
);
//1小时缓存
//1小时缓存
JedisClusterUtils
.
expire
(
altIdAndWxId
,
60
*
60
*
1
);
JedisClusterUtils
.
expire
(
altIdAndWxId
,
60
*
60
*
1
);
...
...
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