From 89c912e0025b63700355e00ec9b833409f970901 Mon Sep 17 00:00:00 2001 From: "qiyunfanbo126.com" <815699> Date: Tue, 8 Oct 2024 11:02:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=93=81=E7=89=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/OrderService.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/OrderService.go b/app/services/OrderService.go index fd456d6..d650b0f 100644 --- a/app/services/OrderService.go +++ b/app/services/OrderService.go @@ -90,7 +90,7 @@ func CreateOrderService(userId int, productId int) (code int, data front.InsertO } } - data.PlainText = config.GetConf().YouChu.MchtNo + order.OrderNo + order.Price + data.PlainText = config.GetConf().YouChu.MchtNo + "|" + order.OrderNo + "|" + order.Price data.Sign = utils.HmacSha256To16(config.GetConf().YouChu.Sha, data.PlainText) data.OrderNo = order.OrderNo data.NotifyUrl = config.GetConf().YouChu.NotifyUrl