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
380b31ba
Commit
380b31ba
authored
Mar 26, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
e45f4a49
ca8aaeb7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
WxEnterpriseDTO.java
...n/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
+6
-5
TabHaobanWxEnterprise.java
...c/haoban/manage/service/entity/TabHaobanWxEnterprise.java
+7
-5
MemberUnionidRelatedApiServiceImpl.java
.../service/out/impl/MemberUnionidRelatedApiServiceImpl.java
+3
-3
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
View file @
380b31ba
...
...
@@ -57,7 +57,7 @@ public class WxEnterpriseDTO implements Serializable {
private
Integer
contactFlag
;
private
String
wxSecreKey
;
private
String
wxSecre
t
Key
;
private
Date
createTime
;
...
...
@@ -289,13 +289,14 @@ public class WxEnterpriseDTO implements Serializable {
this
.
contactFlag
=
contactFlag
;
}
public
String
getWxSecreKey
()
{
return
wxSecreKey
;
public
String
getWxSecre
t
Key
()
{
return
wxSecre
t
Key
;
}
public
void
setWxSecre
Key
(
String
wxSecre
Key
)
{
this
.
wxSecre
Key
=
wxSecre
Key
;
public
void
setWxSecre
tKey
(
String
wxSecret
Key
)
{
this
.
wxSecre
tKey
=
wxSecret
Key
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/TabHaobanWxEnterprise.java
View file @
380b31ba
...
...
@@ -56,7 +56,7 @@ public class TabHaobanWxEnterprise implements Serializable {
private
Integer
contactFlag
;
private
String
wxSecreKey
;
private
String
wxSecre
t
Key
;
private
Date
createTime
;
...
...
@@ -288,13 +288,14 @@ public class TabHaobanWxEnterprise implements Serializable {
this
.
contactFlag
=
contactFlag
;
}
public
String
getWxSecreKey
()
{
return
wxSecreKey
;
public
String
getWxSecre
t
Key
()
{
return
wxSecre
t
Key
;
}
public
void
setWxSecre
Key
(
String
wxSecre
Key
)
{
this
.
wxSecre
Key
=
wxSecre
Key
;
public
void
setWxSecre
tKey
(
String
wxSecret
Key
)
{
this
.
wxSecre
tKey
=
wxSecret
Key
;
}
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MemberUnionidRelatedApiServiceImpl.java
View file @
380b31ba
...
...
@@ -64,7 +64,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
}
List
<
TabHaobanWxEnterpriseRelated
>
list
=
wxEnterpriseRelatedService
.
getByWxEnterpriseId
(
wxEnterprise
.
getWxEnterpriseId
());
String
unionIdJson
=
qywxUserApiService
.
getCorpSelfExternalUseridInfo
(
dto
.
getCorpid
(),
wxEnterprise
.
getWxSecreKey
(),
dto
.
getExternalUserid
());
String
unionIdJson
=
qywxUserApiService
.
getCorpSelfExternalUseridInfo
(
dto
.
getCorpid
(),
wxEnterprise
.
getWxSecre
t
Key
(),
dto
.
getExternalUserid
());
//getExternalUseridInfo(dto.getCorpid(), dto.getSuiteid(), dto.getExternalUserid());
log
.
info
(
"【新增外部联系人回调】unionIdJson={}"
,
JSON
.
toJSONString
(
unionIdJson
));
String
unionId
=
""
;
...
...
@@ -89,7 +89,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
}
dto
.
setWxEnterpriseId
(
wxEnterprise
.
getWxEnterpriseId
());
dto
.
setUnionid
(
unionId
);
dto
.
setSuiteid
(
wxEnterprise
.
getWxSecreKey
());
dto
.
setSuiteid
(
wxEnterprise
.
getWxSecre
t
Key
());
//this.getExternalUserUnionid(dto);
return
memberUnionRelatedService
.
addMemberUnionidRelated
(
dto
);
}
...
...
@@ -105,7 +105,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
if
(
wxEnterprise
==
null
){
return
;
}
String
externalUseridInfo
=
this
.
qywxUserApiService
.
getCorpSelfExternalUseridInfo
(
dto
.
getCorpid
(),
wxEnterprise
.
getWxSecreKey
(),
dto
.
getExternalUserid
());
String
externalUseridInfo
=
this
.
qywxUserApiService
.
getCorpSelfExternalUseridInfo
(
dto
.
getCorpid
(),
wxEnterprise
.
getWxSecre
t
Key
(),
dto
.
getExternalUserid
());
if
(
StringUtils
.
isNotBlank
(
externalUseridInfo
)){
JSONObject
jsonObject
=
JSON
.
parseObject
(
externalUseridInfo
);
dto
.
setUnionid
(
jsonObject
.
getString
(
"unionid"
));
...
...
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