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
dc8e8103
Commit
dc8e8103
authored
Jul 01, 2019
by
高鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mymaster' into 'master'
修改获取群主的方式 See merge request rays/pcloud-book!32
parents
1427c769
f1107994
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
GroupAnnouncementBizImpl.java
.../pcloud/book/group/biz/impl/GroupAnnouncementBizImpl.java
+5
-6
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/GroupAnnouncementBizImpl.java
View file @
dc8e8103
...
...
@@ -181,14 +181,13 @@ public class GroupAnnouncementBizImpl implements GroupAnnouncementBiz {
modifyNoticeVO
.
setContent
(
content
);
modifyNoticeVO
.
setWxGroupId
(
wechatGroupId
);
// 调内部接口获取群主微信号
WeixinQrcode
weixinQrcode
=
weixinQrcodeDao
.
getByGroupId
(
wechatGroupId
);
LOGGER
.
info
(
"开始拿群信息wechatGroupId"
+
wechatGroupId
+
"robotId="
+
weixinQrcode
.
getRobotWxId
());
GroupInfoVO
groupInfoVO
=
WxGroupSDK
.
getGroupInfo
(
wechatGroupId
,
weixinQrcode
.
getRobotWxId
());
LOGGER
.
info
(
"结束拿群信息"
+
groupInfoVO
.
toString
());
if
(
groupInfoVO
==
null
)
{
LOGGER
.
info
(
"开始拿群主信息"
+
wechatGroupId
);
String
masterId
=
wechatGroupConsr
.
getMasterIdByGroupId
(
wechatGroupId
);
LOGGER
.
info
(
"结束拿群主信息"
+
masterId
);
if
(
StringUtil
.
isEmpty
(
masterId
)){
continue
;
}
modifyNoticeVO
.
setMasterId
(
groupInfoVO
.
getGroupOwner
()
);
modifyNoticeVO
.
setMasterId
(
masterId
);
//设置群公告
LOGGER
.
info
(
"设置群公告开始"
+
modifyNoticeVO
.
toString
());
WxGroupSDK
.
modifyNotice
(
modifyNoticeVO
);
...
...
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