Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
pseer
gxpt_ht
Commits
5520acfc
Commit
5520acfc
authored
Jan 18, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改微信订阅消息推送的报错
parent
0a853152
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
WechatNewServiceImpl.java
.../java/share/system/service/impl/WechatNewServiceImpl.java
+4
-2
No files found.
share-system/src/main/java/share/system/service/impl/WechatNewServiceImpl.java
View file @
5520acfc
...
...
@@ -511,7 +511,8 @@ public class WechatNewServiceImpl implements WechatNewService {
if
(
data2
.
containsKey
(
"errcode"
)
&&
!
data2
.
getString
(
"errcode"
).
equals
(
"0"
))
{
if
(
data2
.
containsKey
(
"errmsg"
))
{
wxExceptionDispose
(
data2
,
"微信小程序发送订阅消息重试异常"
);
throw
new
BaseException
(
"微信接口调用失败:"
+
data2
.
getString
(
"errcode"
)
+
data2
.
getString
(
"errmsg"
));
logger
.
error
(
"微信小程序发送订阅消息重试异常:"
+
data2
.
getString
(
"errcode"
)
+
data2
.
getString
(
"errmsg"
));
// throw new BaseException("微信接口调用失败:" + data2.getString("errcode") + data2.getString("errmsg"));
}
}
else
{
return
Boolean
.
TRUE
;
...
...
@@ -519,7 +520,8 @@ public class WechatNewServiceImpl implements WechatNewService {
}
if
(
data
.
containsKey
(
"errmsg"
))
{
wxExceptionDispose
(
data
,
"微信小程序发送订阅消息异常"
);
throw
new
BaseException
(
"微信接口调用失败:"
+
data
.
getString
(
"errcode"
)
+
data
.
getString
(
"errmsg"
));
logger
.
error
(
"微信小程序发送订阅消息异常:"
+
data
.
getString
(
"errcode"
)
+
data
.
getString
(
"errmsg"
));
// throw new BaseException("微信接口调用失败:" + data.getString("errcode") + data.getString("errmsg"));
}
}
return
Boolean
.
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