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
1c754dc2
Commit
1c754dc2
authored
Feb 10, 2020
by
zhuyajie
Committed by
裴大威
Feb 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat 1002291
parent
91115a54
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
14 deletions
+26
-14
SelfRobotKeywordBizImpl.java
...cloud/book/keywords/biz/impl/SelfRobotKeywordBizImpl.java
+1
-0
PcloudGroupActivityBizImpl.java
...cloud/book/skill/biz/impl/PcloudGroupActivityBizImpl.java
+22
-11
PcloudSkillBizImpl.java
...va/com/pcloud/book/skill/biz/impl/PcloudSkillBizImpl.java
+1
-1
PcloudGroupActivityDao.xml
...rc/main/resources/mapper/skill/PcloudGroupActivityDao.xml
+2
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/keywords/biz/impl/SelfRobotKeywordBizImpl.java
View file @
1c754dc2
...
@@ -683,6 +683,7 @@ public class SelfRobotKeywordBizImpl implements SelfRobotKeywordBiz {
...
@@ -683,6 +683,7 @@ public class SelfRobotKeywordBizImpl implements SelfRobotKeywordBiz {
taskSubscribeBiz
.
subscribeTask
(
wxUserId
,
null
,
relSkillId
,
robotId
);
taskSubscribeBiz
.
subscribeTask
(
wxUserId
,
null
,
relSkillId
,
robotId
);
}
else
if
(
2
==
type
){
}
else
if
(
2
==
type
){
pcloudGroupActivityBiz
.
processGroup
(
wxUserId
,
robotId
,
Long
.
valueOf
(
relSkillId
.
toString
()));
pcloudGroupActivityBiz
.
processGroup
(
wxUserId
,
robotId
,
Long
.
valueOf
(
relSkillId
.
toString
()));
pcloudSkillBiz
.
sendResource
(
id
,
wxUserId
,
robotId
,
relSkillId
);
}
else
if
(
3
==
type
){
}
else
if
(
3
==
type
){
pcloudSkillBiz
.
sendResource
(
id
,
wxUserId
,
robotId
,
relSkillId
);
pcloudSkillBiz
.
sendResource
(
id
,
wxUserId
,
robotId
,
relSkillId
);
}
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/skill/biz/impl/PcloudGroupActivityBizImpl.java
View file @
1c754dc2
...
@@ -18,6 +18,7 @@ import com.pcloud.common.core.aspect.ParamLog;
...
@@ -18,6 +18,7 @@ import com.pcloud.common.core.aspect.ParamLog;
import
com.pcloud.common.page.PageBeanNew
;
import
com.pcloud.common.page.PageBeanNew
;
import
com.pcloud.common.page.PageParam
;
import
com.pcloud.common.page.PageParam
;
import
com.sdk.wxgroup.SendGroupInviteVO
;
import
com.sdk.wxgroup.SendGroupInviteVO
;
import
com.sdk.wxgroup.SendPicMessageVO
;
import
com.sdk.wxgroup.WxGroupSDK
;
import
com.sdk.wxgroup.WxGroupSDK
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -87,18 +88,28 @@ public class PcloudGroupActivityBizImpl implements PcloudGroupActivityBiz {
...
@@ -87,18 +88,28 @@ public class PcloudGroupActivityBizImpl implements PcloudGroupActivityBiz {
log
.
error
(
"[processGroup] error 共读不存在"
);
log
.
error
(
"[processGroup] error 共读不存在"
);
return
;
return
;
}
}
GroupQrcodeBaseInfoVO
groupQrcode
=
groupQrcodeBiz
.
getBaseById
(
byId
.
getBookGroupQrcodeId
());
if
(
0
==
byId
.
getJoinType
())
{
if
(
Objects
.
isNull
(
groupQrcode
))
{
GroupQrcodeBaseInfoVO
groupQrcode
=
groupQrcodeBiz
.
getBaseById
(
byId
.
getBookGroupQrcodeId
());
log
.
error
(
"[processGroup] error 共读对应社群不存在"
);
if
(
Objects
.
isNull
(
groupQrcode
))
{
return
;
log
.
error
(
"[processGroup] error 共读对应社群不存在"
);
return
;
}
SendGroupInviteVO
vo
=
new
SendGroupInviteVO
();
vo
.
setWxId
(
wxId
);
vo
.
setAltId
(
robotWxId
);
vo
.
setIp
(
readingActivityBiz
.
getIP
(
robotWxId
));
vo
.
setWxGroupId
(
groupQrcode
.
getWeixinGroupId
());
WxGroupSDK
.
sendGroupInvite
(
vo
);
log
.
info
(
"[processGroup] sendGroupInvite:{}"
,
vo
);
}
if
(
1
==
byId
.
getJoinType
())
{
SendPicMessageVO
vo
=
new
SendPicMessageVO
();
vo
.
setPicUrl
(
byId
.
getGroupPic
());
vo
.
setWxGroupId
(
wxId
);
vo
.
setAltId
(
robotWxId
);
vo
.
setIp
(
readingActivityBiz
.
getIP
(
robotWxId
));
WxGroupSDK
.
sendPicMessage
(
vo
);
}
}
SendGroupInviteVO
vo
=
new
SendGroupInviteVO
();
vo
.
setWxId
(
wxId
);
vo
.
setAltId
(
robotWxId
);
vo
.
setIp
(
readingActivityBiz
.
getIP
(
robotWxId
));
vo
.
setWxGroupId
(
groupQrcode
.
getWeixinGroupId
());
WxGroupSDK
.
sendGroupInvite
(
vo
);
log
.
info
(
"[processGroup] sendGroupInvite:{}"
,
vo
);
}
}
@Override
@Override
...
...
pcloud-service-book/src/main/java/com/pcloud/book/skill/biz/impl/PcloudSkillBizImpl.java
View file @
1c754dc2
...
@@ -390,7 +390,7 @@ public class PcloudSkillBizImpl implements PcloudSkillBiz {
...
@@ -390,7 +390,7 @@ public class PcloudSkillBizImpl implements PcloudSkillBiz {
}
else
if
(
WelcomeReplyTypeEnum
.
RESOURCE
.
value
.
equals
(
type
))
{
}
else
if
(
WelcomeReplyTypeEnum
.
RESOURCE
.
value
.
equals
(
type
))
{
SendFileVO
sendFileVO
=
new
SendFileVO
();
SendFileVO
sendFileVO
=
new
SendFileVO
();
sendFileVO
.
setFileUrl
(
reply
.
getResourceUrl
());
sendFileVO
.
setFileUrl
(
reply
.
getResourceUrl
());
sendFileVO
.
setFileName
(
reply
.
get
ResourceName
()
);
sendFileVO
.
setFileName
(
reply
.
get
Content
().
split
(
"."
)[
0
]
);
sendFileVO
.
setIp
(
ip
);
sendFileVO
.
setIp
(
ip
);
sendFileVO
.
setAltId
(
robotWxId
);
sendFileVO
.
setAltId
(
robotWxId
);
sendFileVO
.
setWxId
(
userWxId
);
sendFileVO
.
setWxId
(
userWxId
);
...
...
pcloud-service-book/src/main/resources/mapper/skill/PcloudGroupActivityDao.xml
View file @
1c754dc2
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
<select
id=
"queryGroupActivity"
resultType=
"com.pcloud.book.skill.facade.response.QueryGroupActivityResponseVO"
parameterType=
"map"
>
<select
id=
"queryGroupActivity"
resultType=
"com.pcloud.book.skill.facade.response.QueryGroupActivityResponseVO"
parameterType=
"map"
>
SELECT
SELECT
a.id,
a.id,
a.
NAME
,
a.
`name`
,
a.description,
a.description
as `desc`
,
a.join_type AS joinType,
a.join_type AS joinType,
a.group_pic AS groupPic,
a.group_pic AS groupPic,
a.book_group_qrcode_id AS bookGroupQrcodeId,
a.book_group_qrcode_id AS bookGroupQrcodeId,
...
...
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