Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat-client-sdk
Project
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
go
wechat-client-sdk
Commits
15873337
Commit
15873337
authored
Oct 27, 2022
by
yemin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
788ef957
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
Client.go
partnerpay/Client.go
+1
-0
Params.go
partnerpay/Params.go
+1
-0
No files found.
partnerpay/Client.go
View file @
15873337
...
...
@@ -58,6 +58,7 @@ func (s *WechatPartnerPayClient) WxJsApiOrder(p *PaymentJsApiParam) *PaymentJsAp
Payer
:
&
jsapi
.
Payer
{
SpOpenid
:
p
.
OpenId
,
},
Attach
:
p
.
Attach
,
},
)
if
err
!=
nil
{
...
...
partnerpay/Params.go
View file @
15873337
...
...
@@ -5,6 +5,7 @@ type PaymentParams struct {
Title
*
string
`json:"title,omitempty"`
// 交易标题/商品描述,必须
OutTradeNo
*
string
`json:"outTradeNo,omitempty"`
// 交易订单号,必须
TimeExpire
*
int64
`json:"timeExpire,omitempty"`
// 超时时长,即代表是多少分钟后订单超时无效(分钟为单位)
Attach
*
string
`json:"attach,omitempty"`
//附加数据,在查询API和支付通知中原样返回,可作为自定义参数使用,实际情况下只有支付完成状态才会返回该字段
CallBackUrl
*
string
`json:"callBackUrl,omitempty"`
// 回调地址,必须
}
...
...
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