Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
deeb57a9
Commit
deeb57a9
authored
Apr 20, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绑定的时候 新增小程序配置
parent
33aed9cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
InfoController.java
.../com/gic/haoban/manage/web/controller/InfoController.java
+4
-3
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/InfoController.java
View file @
deeb57a9
...
...
@@ -33,6 +33,7 @@ import org.slf4j.Logger;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
...
...
@@ -338,7 +339,7 @@ public class InfoController extends WebBaseController{
* @return
*/
@RequestMapping
(
"get-send-message-info"
)
public
HaobanResponse
getMessageMember
(
String
externalUserid
,
String
wxUserId
,
String
wxEnterpriseId
,
String
e
nterpriseId
)
{
public
HaobanResponse
getMessageMember
(
String
externalUserid
,
String
wxUserId
,
String
wxEnterpriseId
,
String
gicE
nterpriseId
)
{
if
(
StringUtils
.
isAnyBlank
(
externalUserid
,
wxUserId
,
wxEnterpriseId
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
...
...
@@ -348,14 +349,14 @@ public class InfoController extends WebBaseController{
//todo 后续新增自动创建好友记录
return
resultResponse
(
HaoBanErrCode
.
ERR_11123
);
}
List
<
ExternalClerkRelatedDTO
>
clerkRelatedDTOS
=
externalClerkRelatedApiService
.
listExternalClerkByWxUserIdAncExternalUserId
(
wxEnterpriseId
,
wxUserId
,
e
nterpriseId
,
externalUserid
);
List
<
ExternalClerkRelatedDTO
>
clerkRelatedDTOS
=
externalClerkRelatedApiService
.
listExternalClerkByWxUserIdAncExternalUserId
(
wxEnterpriseId
,
wxUserId
,
gicE
nterpriseId
,
externalUserid
);
if
(
CollectionUtils
.
isEmpty
(
clerkRelatedDTOS
))
{
logger
.
info
(
"该企业没有对应需要发送的信息村子啊"
);
//todo 后续新增自动创建好友记录
return
resultResponse
(
HaoBanErrCode
.
ERR_11123
);
}
MiniprogramSettingDTO
settingDTO
=
wxEnterpriseApiService
.
getMiniprogramSettingByEid
(
wxEnterpriseId
,
e
nterpriseId
);
MiniprogramSettingDTO
settingDTO
=
wxEnterpriseApiService
.
getMiniprogramSettingByEid
(
wxEnterpriseId
,
gicE
nterpriseId
);
if
(
null
==
settingDTO
)
{
logger
.
info
(
"该企业没有对应需要发送的信息村子啊"
);
//todo 后续新增自动创建好友记录
...
...
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