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
1cadf340
Commit
1cadf340
authored
Nov 02, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
36a77b14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
QwFriendApiServiceImpl.java
...nage/service/service/out/impl/QwFriendApiServiceImpl.java
+7
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/QwFriendApiServiceImpl.java
View file @
1cadf340
...
@@ -39,7 +39,7 @@ import com.gic.wechat.api.service.qywx.QywxExternalUserService;
...
@@ -39,7 +39,7 @@ import com.gic.wechat.api.service.qywx.QywxExternalUserService;
public
class
QwFriendApiServiceImpl
implements
QwFriendApiService
{
public
class
QwFriendApiServiceImpl
implements
QwFriendApiService
{
private
static
final
Logger
log
=
LogManager
.
getLogger
(
QwFriendApiService
.
class
);
private
static
final
Logger
log
=
LogManager
.
getLogger
(
QwFriendApiService
.
class
);
private
static
final
int
subjectType
=
0
;
private
int
subjectType
=
0
;
@Autowired
@Autowired
private
EnterpriseUseForbidService
enterpriseUseForbidService
;
private
EnterpriseUseForbidService
enterpriseUseForbidService
;
...
@@ -73,6 +73,9 @@ public class QwFriendApiServiceImpl implements QwFriendApiService {
...
@@ -73,6 +73,9 @@ public class QwFriendApiServiceImpl implements QwFriendApiService {
public
ServiceResponse
<
Map
<
String
,
String
>>
pendingIdCheck
(
String
enterpriseId
,
String
unionid
,
String
openid
,
public
ServiceResponse
<
Map
<
String
,
String
>>
pendingIdCheck
(
String
enterpriseId
,
String
unionid
,
String
openid
,
String
wxaUnionid
,
String
wxaOpenid
,
boolean
setCheckFlag
)
{
String
wxaUnionid
,
String
wxaOpenid
,
boolean
setCheckFlag
)
{
if
(
"ff8080815dacd3a2015dacd3ef5c0000"
.
equals
(
enterpriseId
))
{
subjectType
=
1
;
}
ServiceResponse
<
WxEnterpriseQwDTO
>
corpidResp
=
this
.
checkAndGetCorpid
(
enterpriseId
,
setCheckFlag
);
ServiceResponse
<
WxEnterpriseQwDTO
>
corpidResp
=
this
.
checkAndGetCorpid
(
enterpriseId
,
setCheckFlag
);
if
(!
corpidResp
.
isSuccess
())
{
if
(!
corpidResp
.
isSuccess
())
{
return
ServiceResponse
.
failure
(
corpidResp
.
getCode
(),
corpidResp
.
getMessage
());
return
ServiceResponse
.
failure
(
corpidResp
.
getCode
(),
corpidResp
.
getMessage
());
...
@@ -128,6 +131,9 @@ public class QwFriendApiServiceImpl implements QwFriendApiService {
...
@@ -128,6 +131,9 @@ public class QwFriendApiServiceImpl implements QwFriendApiService {
if
(!
corpidResp
.
isSuccess
())
{
if
(!
corpidResp
.
isSuccess
())
{
return
ServiceResponse
.
failure
(
corpidResp
.
getCode
(),
corpidResp
.
getMessage
());
return
ServiceResponse
.
failure
(
corpidResp
.
getCode
(),
corpidResp
.
getMessage
());
}
}
if
(
"ff8080815dacd3a2015dacd3ef5c0000"
.
equals
(
enterpriseId
))
{
subjectType
=
1
;
}
String
suiteid
=
config
.
getWxSuiteid
();
String
suiteid
=
config
.
getWxSuiteid
();
WxEnterpriseQwDTO
qwDTO
=
corpidResp
.
getResult
();
WxEnterpriseQwDTO
qwDTO
=
corpidResp
.
getResult
();
String
wxEnterpriseId
=
qwDTO
.
getWxEnterpriseId
();
String
wxEnterpriseId
=
qwDTO
.
getWxEnterpriseId
();
...
...
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