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