功能添加
This commit is contained in:
parent
3e3c9097de
commit
d5f59b1435
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// - protoc-gen-go-triple v1.0.5
|
// - protoc-gen-go-triple v1.0.8
|
||||||
// - protoc v3.21.8
|
// - protoc v3.10.1
|
||||||
// source: pb/bundle.proto
|
// source: pb/bundle.proto
|
||||||
|
|
||||||
package bundle
|
package bundle
|
||||||
|
@ -105,6 +105,7 @@ func CreateBundleOrderSignature(c *gin.Context) {
|
|||||||
req.ValueAddBundleUuid = valueAddBundleDetail.Data.Uuid
|
req.ValueAddBundleUuid = valueAddBundleDetail.Data.Uuid
|
||||||
req.ValueAddOriginalPrice = valueAddBundleDetail.Data.OriginalPrice
|
req.ValueAddOriginalPrice = valueAddBundleDetail.Data.OriginalPrice
|
||||||
req.ValueAddDiscountPrice = valueAddBundleDetail.Data.DiscountPrice
|
req.ValueAddDiscountPrice = valueAddBundleDetail.Data.DiscountPrice
|
||||||
|
req.AddBundleCommonUid = valueAddBundleDetail.Data.AddBundleCommonUid
|
||||||
|
|
||||||
if valueAddBundleDetail.Data.Choose { // 可选条数
|
if valueAddBundleDetail.Data.Choose { // 可选条数
|
||||||
req.ValueAddBundleAmount = valueAddBundleDetail.Data.DiscountPrice * float32(req.Num)
|
req.ValueAddBundleAmount = valueAddBundleDetail.Data.DiscountPrice * float32(req.Num)
|
||||||
@ -121,7 +122,7 @@ func CreateBundleOrderSignature(c *gin.Context) {
|
|||||||
req.BundleName = bundleDetail.Bundle.Name
|
req.BundleName = bundleDetail.Bundle.Name
|
||||||
req.Amount = bundleDetail.Bundle.Price
|
req.Amount = bundleDetail.Bundle.Price
|
||||||
req.AmountType = bundleDetail.Bundle.PriceType
|
req.AmountType = bundleDetail.Bundle.PriceType
|
||||||
|
req.BundleCommonUid = bundleDetail.Bundle.BundleCommonUid
|
||||||
req.TotalAmount = req.Amount + req.ValueAddBundleAmount
|
req.TotalAmount = req.Amount + req.ValueAddBundleAmount
|
||||||
req.PayType = 1 // 默认 人民币
|
req.PayType = 1 // 默认 人民币
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user