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
9bb47a97
Commit
9bb47a97
authored
Jul 19, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
520ef488
859ce296
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
HmLinkApiServiceImpl.java
...age/service/service/out/impl/hm/HmLinkApiServiceImpl.java
+10
-7
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/hm/HmLinkApiServiceImpl.java
View file @
9bb47a97
...
...
@@ -240,9 +240,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
if
(
null
==
hm
&&
StringUtils
.
isNotBlank
(
mainStoreId
))
{
hm
=
this
.
getHmFormStore
(
wxEnterpriseId
,
mainStoreId
,
fwStore
.
getDz
(),
fwStore
.
getDy
());
}
}
if
(
null
!=
hm
)
{
retDTO
.
setSm
(
"会员主门店活码"
);
if
(
null
!=
hm
)
{
retDTO
.
setSm
(
"会员主门店活码"
);
}
}
// 协管门店
List
<
MemberStoreClerkDataDTO
>
list
=
member
.
getStoreClerkRel
();
...
...
@@ -281,9 +281,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
}
}
}
}
if
(
null
!=
hm
)
{
retDTO
.
setSm
(
"会员协管活码"
);
if
(
null
!=
hm
)
{
retDTO
.
setSm
(
"会员协管活码"
);
}
}
}
}
...
...
@@ -310,7 +310,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
}
}
if
(
null
!=
hm
)
{
log
.
info
(
"获取
的
单人活码={}"
,
JSON
.
toJSONString
(
hm
));
log
.
info
(
"获取
到
单人活码={}"
,
JSON
.
toJSONString
(
hm
));
// 判断是否已经是好友
boolean
isFriend
=
false
;
if
(
null
!=
memberId
)
{
...
...
@@ -321,6 +321,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
isFriend
=
true
;
log
.
info
(
"已经是好友,staffid={},memberId={}"
,
staffId
,
memberId
);
retDTO
.
setHmQrcode
(
hm
.
getWxQrcode
());
retDTO
.
setSm
(
"老好友,取单人活码"
);
}
}
...
...
@@ -333,8 +334,10 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
if
(
null
!=
dthmKey
)
{
ServiceResponse
<
String
>
addResp
=
this
.
addQrcode
(
hm
,
dthmKey
,
wxEnterpriseDTO
.
getCorpid
(),
retDTO
);
if
(!
addResp
.
isSuccess
())
{
retDTO
.
setSm
(
"创建动态活码失败,取单人活码"
);
retDTO
.
setHmQrcode
(
hm
.
getWxQrcode
());
}
else
{
retDTO
.
setSm
(
"动态活码"
);
retDTO
.
setHmQrcode
(
addResp
.
getResult
());
}
}
...
...
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