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
d4aad1cd
Commit
d4aad1cd
authored
Aug 20, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'eature/xgh/bug0808' into 'master'
小程序的跳转 See merge request
!2109
parents
4800f066
f280e540
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
OpenStaffServiceImpl.java
...ban/manage/service/service/impl/OpenStaffServiceImpl.java
+2
-2
QywxSendServiceImpl.java
...oban/manage/service/service/impl/QywxSendServiceImpl.java
+2
-2
OpenUtils.java
...in/java/com/gic/haoban/manage/service/util/OpenUtils.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/OpenStaffServiceImpl.java
View file @
d4aad1cd
...
...
@@ -230,12 +230,12 @@ public class OpenStaffServiceImpl implements OpenStaffService {
QwOpenResultInitBO
bo
=
initResp
.
getResult
();
String
newUuid
=
bo
.
getUuid
();
if
(
bo
.
isIs_login
())
{
this
.
openStaffMapper
.
updateByAutoLogin
(
qwUser
Id
,
newUuid
);
this
.
openStaffMapper
.
updateByAutoLogin
(
openStaff
Id
,
newUuid
);
return
newUuid
;
}
boolean
autLogin
=
OpenUtils
.
autoLogin
(
newUuid
);
if
(
autLogin
)
{
this
.
openStaffMapper
.
updateByAutoLogin
(
qwUser
Id
,
newUuid
);
this
.
openStaffMapper
.
updateByAutoLogin
(
openStaff
Id
,
newUuid
);
return
newUuid
;
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/QywxSendServiceImpl.java
View file @
d4aad1cd
...
...
@@ -227,7 +227,7 @@ public class QywxSendServiceImpl implements QywxSendService {
miniprogramMaterialDTO
.
setPicMediaId
(
maerialId
);
miniprogramMaterialDTO
.
setAppid
(
material
.
getAppId
());
miniprogramMaterialDTO
.
setPage
(
material
.
getLink
());
/*
if(null != planType && StringUtils.isNotBlank(planId)) {
if
(
null
!=
planType
&&
StringUtils
.
isNotBlank
(
planId
))
{
String
url
=
"qtActivityType="
+
planType
+
"&qtActivityId="
+
planId
;
if
(
material
.
getLink
().
contains
(
"?"
))
{
url
=
"&"
+
url
;
...
...
@@ -235,7 +235,7 @@ public class QywxSendServiceImpl implements QywxSendService {
url
=
"?"
+
url
;
}
miniprogramMaterialDTO
.
setPage
(
material
.
getLink
()+
url
);
}
*/
}
log
.
info
(
"群发链接={}"
,
material
.
getLink
(),
miniprogramMaterialDTO
.
getPage
());
dto
.
setMsgType
(
QywxMediaTypeEnum
.
MINIPROGRAM
.
getName
());
dto
.
setMiniprogram
(
miniprogramMaterialDTO
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/util/OpenUtils.java
View file @
d4aad1cd
...
...
@@ -141,7 +141,7 @@ public class OpenUtils {
logger
.
info
(
"获取当前账号详情={},uuid={}"
,
backJson
,
uuid
);
JSONObject
resultJson
=
JSONObject
.
parseObject
(
backJson
);
int
errcode
=
resultJson
.
getIntValue
(
"errcode"
);
if
(
errcode
==
500
&&
resultJson
.
getString
(
"errmsg"
).
contains
(
"实例不存在"
)
)
{
if
(
errcode
==
500
)
{
return
false
;
}
return
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