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
0f98207b
Commit
0f98207b
authored
Jul 04, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改扫呗回调接口
parent
6899a11a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
EquityMembersOrder.java
...src/main/java/share/system/domain/EquityMembersOrder.java
+3
-3
CallbackServiceImpl.java
...n/java/share/system/service/impl/CallbackServiceImpl.java
+4
-4
No files found.
share-system/src/main/java/share/system/domain/EquityMembersOrder.java
View file @
0f98207b
...
@@ -59,13 +59,13 @@ public class EquityMembersOrder extends BaseEntity {
...
@@ -59,13 +59,13 @@ public class EquityMembersOrder extends BaseEntity {
private
Integer
payType
;
private
Integer
payType
;
/**
/**
* 商户订单号
* 商户
平台唯一
订单号
*/
*/
@Excel
(
name
=
"商户订单号"
)
@Excel
(
name
=
"商户
平台唯一
订单号"
)
private
String
outTradeNo
;
private
String
outTradeNo
;
/**
/**
*
商户订单
号
*
终端流水
号
*/
*/
@Excel
(
name
=
"终端流水号"
)
@Excel
(
name
=
"终端流水号"
)
private
String
terminalTrace
;
private
String
terminalTrace
;
...
...
share-system/src/main/java/share/system/service/impl/CallbackServiceImpl.java
View file @
0f98207b
...
@@ -382,7 +382,7 @@ public class CallbackServiceImpl implements CallbackService {
...
@@ -382,7 +382,7 @@ public class CallbackServiceImpl implements CallbackService {
break
;
break
;
case
RECHARGE:
case
RECHARGE:
Recharge
rechargeParam
=
new
Recharge
();
Recharge
rechargeParam
=
new
Recharge
();
rechargeParam
.
set
OutTradeNo
(
param
.
getTerminal_trace
());
rechargeParam
.
set
TerminalTrace
(
param
.
getTerminal_trace
());
rechargeParam
.
setConsumerId
(
attachVo
.
getUserId
());
rechargeParam
.
setConsumerId
(
attachVo
.
getUserId
());
Recharge
recharge
=
rechargeService
.
getInfoByEntity
(
rechargeParam
);
Recharge
recharge
=
rechargeService
.
getInfoByEntity
(
rechargeParam
);
...
@@ -410,7 +410,7 @@ public class CallbackServiceImpl implements CallbackService {
...
@@ -410,7 +410,7 @@ public class CallbackServiceImpl implements CallbackService {
saobeiApiLogService
.
insertSaobeiApiLog
(
saobeiApiLog
);
saobeiApiLogService
.
insertSaobeiApiLog
(
saobeiApiLog
);
return
responseVo
;
return
responseVo
;
}
}
WechatPayInfo
wechatInfo
=
wechatPayInfoService
.
getByNo
(
recharge
.
get
OutTradeNo
());
WechatPayInfo
wechatInfo
=
wechatPayInfoService
.
getByNo
(
recharge
.
get
TerminalTrace
());
if
(
ObjectUtil
.
isNull
(
wechatInfo
))
{
if
(
ObjectUtil
.
isNull
(
wechatInfo
))
{
logger
.
error
(
"saobei wechat pay error : 微信订单信息不存在==》"
+
param
.
getTerminal_trace
());
logger
.
error
(
"saobei wechat pay error : 微信订单信息不存在==》"
+
param
.
getTerminal_trace
());
responseVo
.
setReturn_code
(
SaobeiStatusEnum
.
FAIL
.
getCode
());
responseVo
.
setReturn_code
(
SaobeiStatusEnum
.
FAIL
.
getCode
());
...
@@ -459,7 +459,7 @@ public class CallbackServiceImpl implements CallbackService {
...
@@ -459,7 +459,7 @@ public class CallbackServiceImpl implements CallbackService {
break
;
break
;
case
RIGHTS:
case
RIGHTS:
EquityMembersOrder
equityMembersOrderParam
=
new
EquityMembersOrder
();
EquityMembersOrder
equityMembersOrderParam
=
new
EquityMembersOrder
();
equityMembersOrderParam
.
set
OutTradeNo
(
param
.
getTerminal_trace
());
equityMembersOrderParam
.
set
TerminalTrace
(
param
.
getTerminal_trace
());
equityMembersOrderParam
.
setConsumerId
(
attachVo
.
getUserId
());
equityMembersOrderParam
.
setConsumerId
(
attachVo
.
getUserId
());
EquityMembersOrder
equityMembersOrder
=
equityMembersOrderService
.
getInfoByEntity
(
equityMembersOrderParam
);
EquityMembersOrder
equityMembersOrder
=
equityMembersOrderService
.
getInfoByEntity
(
equityMembersOrderParam
);
...
@@ -487,7 +487,7 @@ public class CallbackServiceImpl implements CallbackService {
...
@@ -487,7 +487,7 @@ public class CallbackServiceImpl implements CallbackService {
saobeiApiLogService
.
insertSaobeiApiLog
(
saobeiApiLog
);
saobeiApiLogService
.
insertSaobeiApiLog
(
saobeiApiLog
);
return
responseVo
;
return
responseVo
;
}
}
WechatPayInfo
equityPayInfo
=
wechatPayInfoService
.
getByNo
(
equityMembersOrder
.
get
OutTradeNo
());
WechatPayInfo
equityPayInfo
=
wechatPayInfoService
.
getByNo
(
equityMembersOrder
.
get
TerminalTrace
());
if
(
ObjectUtil
.
isNull
(
equityPayInfo
))
{
if
(
ObjectUtil
.
isNull
(
equityPayInfo
))
{
logger
.
error
(
"saobei wechat pay error : 微信订单信息不存在==》"
+
param
.
getTerminal_trace
());
logger
.
error
(
"saobei wechat pay error : 微信订单信息不存在==》"
+
param
.
getTerminal_trace
());
responseVo
.
setReturn_code
(
SaobeiStatusEnum
.
FAIL
.
getCode
());
responseVo
.
setReturn_code
(
SaobeiStatusEnum
.
FAIL
.
getCode
());
...
...
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