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
2ac958a6
Commit
2ac958a6
authored
Jul 04, 2019
by
高鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mymaster' into 'master'
加点日志 See merge request rays/pcloud-book!33
parents
a7d86553
dc7cc3fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
WechatGroupConsr.java
...om/pcloud/book/consumer/wechatgroup/WechatGroupConsr.java
+1
-0
UpdateWXGroupNameListener.java
...a/com/pcloud/book/mq/topic/UpdateWXGroupNameListener.java
+2
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/consumer/wechatgroup/WechatGroupConsr.java
View file @
2ac958a6
...
...
@@ -60,6 +60,7 @@ public class WechatGroupConsr {
/**
* 根据群号获取机器人微信号
*/
@ParamLog
(
"根据群号获取机器人微信号"
)
public
String
getRobotIdByGroupId
(
String
groupId
)
throws
BizException
{
log
.
info
(
"【根据群号获取机器人微信号,<START>.[groupId]="
+
groupId
+
"]"
);
if
(
groupId
==
null
)
{
...
...
pcloud-service-book/src/main/java/com/pcloud/book/mq/topic/UpdateWXGroupNameListener.java
View file @
2ac958a6
...
...
@@ -53,11 +53,13 @@ public class UpdateWXGroupNameListener {
changeNameVO
.
setWxGroupId
(
wechatGroupId
);
String
altId
=
wechatGroupConsr
.
getRobotIdByGroupId
(
wechatGroupId
);
changeNameVO
.
setAltId
(
altId
);
LOGGER
.
info
(
"修改群名称"
+
changeNameVO
.
toString
());
WxGroupSDK
.
changeGroupName
(
changeNameVO
);
SendTextMessageVO
sendTextMessageVO
=
new
SendTextMessageVO
();
sendTextMessageVO
.
setContent
(
"@"
+
groupNameDTO
.
getNickName
()+
",为方便群友入群分享好的助学方法,请不要随意修改群名。如再修改,会将您移出群聊。谢谢配合。"
);
sendTextMessageVO
.
setAltId
(
altId
);
sendTextMessageVO
.
setGroupId
(
wechatGroupId
);
LOGGER
.
info
(
"发送警告文本消息"
+
sendTextMessageVO
.
toString
());
WxGroupSDK
.
sendTextMessage
(
sendTextMessageVO
);
}
}
catch
(
Exception
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