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
acc7b536
Commit
acc7b536
authored
Jun 17, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群活码-链接调整
parent
4c938e64
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletions
+31
-1
HmLinkWxaDTO.java
...n/java/com/gic/haoban/manage/api/dto/hm/HmLinkWxaDTO.java
+1
-1
LinkHmFromWxaQDTO.java
...om/gic/haoban/manage/api/qdto/chat/LinkHmFromWxaQDTO.java
+13
-0
HmLinkApiServiceImpl.java
...age/service/service/out/impl/hm/HmLinkApiServiceImpl.java
+17
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/hm/HmLinkWxaDTO.java
View file @
acc7b536
...
@@ -25,7 +25,7 @@ public class HmLinkWxaDTO implements Serializable {
...
@@ -25,7 +25,7 @@ public class HmLinkWxaDTO implements Serializable {
// 二维码
// 二维码
private
String
hmQrcode
;
private
String
hmQrcode
;
// 自定义门店规则1推荐门店 2附近门店
// 自定义门店规则1推荐门店 2附近门店
3:获取群活码需要传入经纬度
private
int
storeType
;
private
int
storeType
;
// 是否展示省市区门店查询
// 是否展示省市区门店查询
private
int
selectStoreFlag
;
private
int
selectStoreFlag
;
...
...
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/qdto/chat/LinkHmFromWxaQDTO.java
View file @
acc7b536
...
@@ -19,6 +19,19 @@ public class LinkHmFromWxaQDTO implements Serializable {
...
@@ -19,6 +19,19 @@ public class LinkHmFromWxaQDTO implements Serializable {
*/
*/
private
String
districtCode
;
private
String
districtCode
;
/**
* 小程序是否需要位置信息的查询
*/
private
Integer
justLocationFlag
;
public
Integer
getJustLocationFlag
()
{
return
justLocationFlag
;
}
public
void
setJustLocationFlag
(
Integer
justLocationFlag
)
{
this
.
justLocationFlag
=
justLocationFlag
;
}
public
String
getLatitude
()
{
public
String
getLatitude
()
{
return
latitude
;
return
latitude
;
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/hm/HmLinkApiServiceImpl.java
View file @
acc7b536
...
@@ -335,6 +335,23 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
...
@@ -335,6 +335,23 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
// 如果是社群链接
// 如果是社群链接
if
(
link
.
getLinkType
()
==
HmLinkTypeEnum
.
CHAT_HM_LINK_TYPE
.
getLinkType
())
{
if
(
link
.
getLinkType
()
==
HmLinkTypeEnum
.
CHAT_HM_LINK_TYPE
.
getLinkType
())
{
log
.
info
(
"群链接,linkId={}"
,
link
.
getLinkId
());
log
.
info
(
"群链接,linkId={}"
,
link
.
getLinkId
());
if
(
null
!=
qdto
.
getJustLocationFlag
()
&&
qdto
.
getJustLocationFlag
()==
1
)
{
JSONArray
arr
=
JSONArray
.
parseArray
(
link
.
getCustomRuleJson
())
;
boolean
flag
=
false
;
for
(
int
i
=
0
;
i
<
arr
.
size
();
i
++)
{
JSONObject
json
=
arr
.
getJSONObject
(
i
)
;
int
open
=
json
.
getIntValue
(
"open"
)
;
int
type
=
json
.
getIntValue
(
"type"
)
;
if
(
open
==
1
&&
type
==
3
)
{
flag
=
true
;
break
;
}
}
if
(
flag
)
{
retDTO
.
setStoreType
(
3
);
return
ServiceResponse
.
success
(
retDTO
)
;
}
}
ServiceResponse
<
HmLinkWxaDTO
>
resp
=
this
.
getLinkChatHmFromWxa
(
wxEnterpriseId
,
enterpriseId
,
mixPhone
,
unionid
,
memberId
,
link
,
retDTO
,
qdto
);
ServiceResponse
<
HmLinkWxaDTO
>
resp
=
this
.
getLinkChatHmFromWxa
(
wxEnterpriseId
,
enterpriseId
,
mixPhone
,
unionid
,
memberId
,
link
,
retDTO
,
qdto
);
if
(
null
!=
resp
.
getResult
())
{
if
(
null
!=
resp
.
getResult
())
{
resp
.
getResult
().
setGroupChatHm
(
true
);
resp
.
getResult
().
setGroupChatHm
(
true
);
...
...
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