From 21c8e8af2ec4c99556c66188ddce1cf110514732 Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Wed, 24 Jan 2024 16:41:24 +0800 Subject: [PATCH] api pay4 --- server/controller/qyweixin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controller/qyweixin.go b/server/controller/qyweixin.go index cbd5469..631a40e 100644 --- a/server/controller/qyweixin.go +++ b/server/controller/qyweixin.go @@ -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