增加品牌
This commit is contained in:
parent
01a7c60d45
commit
923ae81804
|
@ -91,7 +91,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.MchtNo, data.PlainText)
|
data.Sign = utils.HmacSha256To16(config.GetConf().YouChu.Sha, data.PlainText)
|
||||||
data.OrderNo = order.OrderNo
|
data.OrderNo = order.OrderNo
|
||||||
data.NotifyUrl = config.GetConf().YouChu.NotifyUrl
|
data.NotifyUrl = config.GetConf().YouChu.NotifyUrl
|
||||||
return errorcode.Success, data
|
return errorcode.Success, data
|
||||||
|
|
Loading…
Reference in New Issue