api pay4
This commit is contained in:
parent
de4e2e27c2
commit
21c8e8af2e
|
@ -56,7 +56,7 @@ func (q *QyWeixin) Pay(ctx *gin.Context) {
|
|||
|
||||
// 支付费用
|
||||
var req qyweixin.PayReq
|
||||
req.BillNo = fmt.Sprintf("API%s_%s", time.Now().Format("20060102150405"), userid)
|
||||
req.BillNo = fmt.Sprintf("API%s%s", time.Now().Format("20060102150405"), userid)
|
||||
req.Title = title
|
||||
req.Openid = openid
|
||||
req.TotalAmount = amount
|
||||
|
|
Loading…
Reference in New Issue