Skip to content

Commit 2bf5541

Browse files
authored
修改代码格式 (#309)
1 parent fe8176e commit 2bf5541

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

allinpay/model.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ const (
88
RSA = "RSA"
99
SM2 = "SM2"
1010

11-
//OrderTypeReqSN 商家自由订单号
11+
// OrderTypeReqSN 商家自由订单号
1212
OrderTypeReqSN = "reqsn"
13-
//OrderTypeTrxId 通联生产支付号
13+
// OrderTypeTrxId 通联生产支付号
1414
OrderTypeTrxId = "trxid"
1515

1616
// PayTypeWXScan 微信扫码支付
@@ -45,7 +45,7 @@ type RspBase struct {
4545
Appid string `json:"appid"`
4646
}
4747

48-
// PayResp 通用支付响应
48+
// PayRsp 通用支付响应
4949
type PayRsp struct {
5050
RspBase
5151
Trxid string `json:"trxid"`
@@ -58,7 +58,7 @@ type PayRsp struct {
5858
PayInfo string `json:"payinfo"`
5959
}
6060

61-
// ScanPayResp 扫码支付、订单查询响应
61+
// ScanPayRsp 扫码支付、订单查询响应
6262
type ScanPayRsp struct {
6363
RspBase
6464
Trxid string `json:"trxid"`
@@ -79,7 +79,7 @@ type ScanPayRsp struct {
7979
AcctType string `json:"accttype"`
8080
}
8181

82-
// RefundResp 退款响应
82+
// RefundRsp 退款响应
8383
type RefundRsp struct {
8484
RspBase
8585
Trxid string `json:"trxid"`
@@ -93,7 +93,7 @@ type RefundRsp struct {
9393
ChnlTrxId string `json:"chnltrxid"`
9494
}
9595

96-
// CloseResp 关闭响应
96+
// CloseRsp 关闭响应
9797
type CloseRsp struct {
9898
RspBase
9999
TrxStatus string `json:"trxstatus"`

0 commit comments

Comments
 (0)