Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
e6c0f794
Commit
e6c0f794
authored
Jan 25, 2022
by
terrfly
Browse files
处理微信分账的响应信息;
parent
e0646c4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/wxpay/kits/WxpayKit.java
View file @
e6c0f794
...
@@ -68,6 +68,11 @@ public class WxpayKit {
...
@@ -68,6 +68,11 @@ public class WxpayKit {
channelRetMsg
.
setChannelErrCode
(
appendErrCode
(
wxPayException
.
getReturnCode
(),
wxPayException
.
getErrCode
()
));
channelRetMsg
.
setChannelErrCode
(
appendErrCode
(
wxPayException
.
getReturnCode
(),
wxPayException
.
getErrCode
()
));
channelRetMsg
.
setChannelErrMsg
(
appendErrMsg
(
"OK"
.
equalsIgnoreCase
(
wxPayException
.
getReturnMsg
())
?
null
:
wxPayException
.
getReturnMsg
(),
wxPayException
.
getErrCodeDes
()
));
channelRetMsg
.
setChannelErrMsg
(
appendErrMsg
(
"OK"
.
equalsIgnoreCase
(
wxPayException
.
getReturnMsg
())
?
null
:
wxPayException
.
getReturnMsg
(),
wxPayException
.
getErrCodeDes
()
));
// 如果仍然为空
if
(
StringUtils
.
isEmpty
(
channelRetMsg
.
getChannelErrMsg
())){
channelRetMsg
.
setChannelErrMsg
(
StringUtils
.
defaultIfEmpty
(
wxPayException
.
getCustomErrorMsg
(),
wxPayException
.
getMessage
()));
}
}
}
}
}
Write
Preview
Supports
Markdown
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