Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5a0c556c
authored
Jan 22, 2026
by
gonglei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加入框架代码
1 parent
e175a5b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
aus-api/src/main/java/com/glsx/usedcar/web/api/finance/WxpayController.java
doc/sql/update.sql
aus-api/src/main/java/com/glsx/usedcar/web/api/finance/WxpayController.java
View file @
5a0c556
...
@@ -71,7 +71,7 @@ public class WxpayController {
...
@@ -71,7 +71,7 @@ public class WxpayController {
transactionService
.
notifyRecharge
(
outTradeNo
,
openid
,
transactionId
);
transactionService
.
notifyRecharge
(
outTradeNo
,
openid
,
transactionId
);
}
else
if
(
"order"
.
equals
(
attach
))
{
}
else
if
(
"order"
.
equals
(
attach
))
{
// 车款支付成功通知
// 车款支付成功通知
transactionService
.
notifyAuctionOrder
(
outTradeNo
,
decryptRes
.
getAmount
().
getTotal
()
*
100
,
transactionId
);
transactionService
.
notifyAuctionOrder
(
outTradeNo
,
decryptRes
.
getAmount
().
getTotal
()
/
100
D
,
transactionId
);
}
}
}
}
//成功返回200/204,body无需有内容
//成功返回200/204,body无需有内容
...
@@ -109,7 +109,7 @@ public class WxpayController {
...
@@ -109,7 +109,7 @@ public class WxpayController {
WxPayRefundNotifyV3Result
res
=
this
.
wxService
.
parseRefundNotifyV3Result
(
notifyData
,
header
);
WxPayRefundNotifyV3Result
res
=
this
.
wxService
.
parseRefundNotifyV3Result
(
notifyData
,
header
);
WxPayRefundNotifyV3Result
.
DecryptNotifyResult
decryptRes
=
res
.
getResult
();
WxPayRefundNotifyV3Result
.
DecryptNotifyResult
decryptRes
=
res
.
getResult
();
log
.
info
(
"回调退款通知notify/refund开始"
);
log
.
info
(
"回调退款通知notify/refund开始"
);
log
.
info
(
"回调退款OutRefundNo:"
+
decryptRes
.
getOutRefundNo
());
log
.
info
(
"回调退款OutRefundNo:"
+
decryptRes
.
getOutRefundNo
());
// 根据自己业务场景需要构造返回对象
// 根据自己业务场景需要构造返回对象
if
(
WxPayConstants
.
RefundStatus
.
SUCCESS
.
equals
(
decryptRes
.
getRefundStatus
()))
{
if
(
WxPayConstants
.
RefundStatus
.
SUCCESS
.
equals
(
decryptRes
.
getRefundStatus
()))
{
transactionService
.
notifyRechargeRefund
(
decryptRes
);
transactionService
.
notifyRechargeRefund
(
decryptRes
);
...
...
doc/sql/update.sql
View file @
5a0c556
...
@@ -217,9 +217,12 @@ ALTER TABLE withdraw ADD AUDITOR VARCHAR(32)
...
@@ -217,9 +217,12 @@ ALTER TABLE withdraw ADD AUDITOR VARCHAR(32)
COMMENT
'审核人'
NULL
after
REFUND_AMOUNT
;
COMMENT
'审核人'
NULL
after
REFUND_AMOUNT
;
#
2026
-
01
-
18
/* 2026-01-18****/
ALTER
TABLE
commission_rule
ADD
MIN_PRICE
DECIMAL
(
16
,
2
)
DEFAULT
0
ALTER
TABLE
commission_rule
ADD
MIN_PRICE
DECIMAL
(
16
,
2
)
DEFAULT
0
COMMENT
'最低成交价'
NOT
NULL
after
APPLICABLE_TYPE
;
COMMENT
'最低成交价'
NOT
NULL
after
APPLICABLE_TYPE
;
ALTER
TABLE
commission_rule
ADD
MAX_PRICE
DECIMAL
(
16
,
2
)
DEFAULT
0
ALTER
TABLE
commission_rule
ADD
MAX_PRICE
DECIMAL
(
16
,
2
)
DEFAULT
0
COMMENT
'最高成交价'
NOT
NULL
after
MIN_PRICE
;
COMMENT
'最高成交价'
NOT
NULL
after
MIN_PRICE
;
/* 2026-01-22****/
update
order_transaction
ot
set
ot
.
AMOUNT
=
(
select
(
ao
.
ORDER_PRICE
+
ao
.
COMMISSION_PRICE
)
FROM
auction_order
ao
where
ao
.
ORDER_ID
=
ot
.
ORDER_ID
)
where
ot
.
PAYMENT_TYPE
=
'WXPAY'
;
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment