Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2ac6fcb6
authored
Oct 29, 2025
by
lijinqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付回调接口V0.1
parent
842a425c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
145 additions
and
64 deletions
+145
-64
computility-module-compute/computility-module-compute-biz/src/main/java/com/luhu/computility/module/compute/controller/admin/notify/ComputeWpgjPayController.java
+123
-64
computility-module-pay/src/main/java/com/luhu/computility/module/pay/controller/admin/notify/vo/WpgjPayNotifyDTO.java
+22
-0
No files found.
computility-module-compute/computility-module-compute-biz/src/main/java/com/luhu/computility/module/compute/controller/admin/notify/ComputeWpgjPayController.java
View file @
2ac6fcb6
This diff is collapsed.
Click to expand it.
computility-module-pay/src/main/java/com/luhu/computility/module/pay/controller/admin/notify/vo/WpgjPayNotifyDTO.java
View file @
2ac6fcb6
package
com
.
luhu
.
computility
.
module
.
pay
.
controller
.
admin
.
notify
.
vo
;
import
com.fasterxml.jackson.annotation.JsonAlias
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
...
...
@@ -16,68 +18,88 @@ public class WpgjPayNotifyDTO {
@Schema
(
description
=
"旺铺平台唯一设备SN号"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"设备编号不能为空"
)
@JsonProperty
(
"device_no"
)
private
String
deviceNo
;
@Schema
(
description
=
"内部商户号"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"商户号不能为空"
)
@JsonProperty
(
"mer_no"
)
private
String
merNo
;
@Schema
(
description
=
"商户代码"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"商户代码不能为空"
)
@JsonProperty
(
"mer_code"
)
private
String
merCode
;
@Schema
(
description
=
"支付通道代码"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"支付通道代码不能为空"
)
@JsonProperty
(
"payway_code"
)
private
String
paywayCode
;
@Schema
(
description
=
"旺铺订单号"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"旺铺订单号不能为空"
)
@JsonProperty
(
"order_id"
)
private
String
orderId
;
@Schema
(
description
=
"商户订单id,系统唯一"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"商户订单号不能为空"
)
@JsonProperty
(
"mer_order_id"
)
private
String
merOrderId
;
@Schema
(
description
=
"网关商户订单号"
)
@JsonProperty
(
"gateway_mer_order_id"
)
private
String
gatewayMerOrderId
;
@Schema
(
description
=
"下单时间"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"下单时间不能为空"
)
@JsonProperty
(
"order_time"
)
private
String
orderTime
;
@Schema
(
description
=
"订单金额"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"订单金额不能为空"
)
@JsonProperty
(
"order_amt"
)
private
String
orderAmt
;
@Schema
(
description
=
"订单状态"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"订单状态不能为空"
)
@JsonProperty
(
"order_status"
)
private
String
orderStatus
;
@Schema
(
description
=
"通道交易流水号"
)
@JsonProperty
(
"trade_no"
)
private
String
tradeNo
;
@Schema
(
description
=
"交易时间,支付成功返回"
)
@JsonProperty
(
"trade_time"
)
private
String
tradeTime
;
@Schema
(
description
=
"订单标题"
)
@JsonProperty
(
"order_title"
)
private
String
orderTitle
;
@Schema
(
description
=
"订单手续费"
)
@JsonProperty
(
"fee"
)
private
String
fee
;
@Schema
(
description
=
"结算金额"
)
@JsonProperty
(
"act_amt"
)
private
String
actAmt
;
@Schema
(
description
=
"买家用户号"
)
@JsonProperty
(
"buyer_id"
)
@JsonAlias
(
"buyer_user_id"
)
private
String
buyerId
;
@Schema
(
description
=
"对应微信、支付宝小票上交易单号"
)
@JsonProperty
(
"trade_top_no"
)
private
String
tradeTopNo
;
@Schema
(
description
=
"交易账户类型 C-贷记卡,D-借记卡,U-未知"
)
@JsonProperty
(
"card_type"
)
private
String
cardType
;
@Schema
(
description
=
"报文签名值"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@NotBlank
(
message
=
"签名不能为空"
)
@JsonProperty
(
"sign"
)
private
String
sign
;
}
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