111
This commit is contained in:
parent
eba1083fe7
commit
7d6f141d4e
@ -195,7 +195,7 @@ func AutoCreateUserAndOrder(c *gin.Context) {
|
|||||||
f64, err := strconv.ParseFloat(unfinishInfo.OrderPayAmount, 32)
|
f64, err := strconv.ParseFloat(unfinishInfo.OrderPayAmount, 32)
|
||||||
TotalPrice = float32(f64)
|
TotalPrice = float32(f64)
|
||||||
addRecords = append(addRecords,
|
addRecords = append(addRecords,
|
||||||
&bundle.OrderCreateAddRecord{ //视频
|
&bundle.OrderCreateAddRecord{
|
||||||
ServiceType: 1,
|
ServiceType: 1,
|
||||||
ValueUid: videoUuid,
|
ValueUid: videoUuid,
|
||||||
CurrencyType: 2, //美元
|
CurrencyType: 2, //美元
|
||||||
@ -204,6 +204,7 @@ func AutoCreateUserAndOrder(c *gin.Context) {
|
|||||||
Unit: "个",
|
Unit: "个",
|
||||||
Source: 1,
|
Source: 1,
|
||||||
PaymentStatus: 1,
|
PaymentStatus: 1,
|
||||||
|
HandlingFee: unfinishInfo.OrderFeeAmount,
|
||||||
}, &bundle.OrderCreateAddRecord{ //图文
|
}, &bundle.OrderCreateAddRecord{ //图文
|
||||||
ServiceType: 2,
|
ServiceType: 2,
|
||||||
ValueUid: textAndImagesUuid,
|
ValueUid: textAndImagesUuid,
|
||||||
@ -213,6 +214,7 @@ func AutoCreateUserAndOrder(c *gin.Context) {
|
|||||||
Unit: "个",
|
Unit: "个",
|
||||||
Source: 1,
|
Source: 1,
|
||||||
PaymentStatus: 1,
|
PaymentStatus: 1,
|
||||||
|
HandlingFee: unfinishInfo.OrderFeeAmount,
|
||||||
}, &bundle.OrderCreateAddRecord{ //数据报表
|
}, &bundle.OrderCreateAddRecord{ //数据报表
|
||||||
ServiceType: 3,
|
ServiceType: 3,
|
||||||
ValueUid: reportUuid,
|
ValueUid: reportUuid,
|
||||||
@ -222,6 +224,7 @@ func AutoCreateUserAndOrder(c *gin.Context) {
|
|||||||
Unit: "个",
|
Unit: "个",
|
||||||
Source: 1,
|
Source: 1,
|
||||||
PaymentStatus: 1,
|
PaymentStatus: 1,
|
||||||
|
HandlingFee: unfinishInfo.OrderFeeAmount,
|
||||||
}, &bundle.OrderCreateAddRecord{ //账号数
|
}, &bundle.OrderCreateAddRecord{ //账号数
|
||||||
ServiceType: 4,
|
ServiceType: 4,
|
||||||
ValueUid: accountUuid,
|
ValueUid: accountUuid,
|
||||||
@ -231,6 +234,7 @@ func AutoCreateUserAndOrder(c *gin.Context) {
|
|||||||
Unit: "个",
|
Unit: "个",
|
||||||
Source: 1,
|
Source: 1,
|
||||||
PaymentStatus: 1,
|
PaymentStatus: 1,
|
||||||
|
HandlingFee: unfinishInfo.OrderFeeAmount,
|
||||||
}, &bundle.OrderCreateAddRecord{ //可用时长
|
}, &bundle.OrderCreateAddRecord{ //可用时长
|
||||||
ServiceType: 5,
|
ServiceType: 5,
|
||||||
ValueUid: durationUuid,
|
ValueUid: durationUuid,
|
||||||
@ -240,6 +244,7 @@ func AutoCreateUserAndOrder(c *gin.Context) {
|
|||||||
Unit: "年",
|
Unit: "年",
|
||||||
Source: 1,
|
Source: 1,
|
||||||
PaymentStatus: 1,
|
PaymentStatus: 1,
|
||||||
|
HandlingFee: unfinishInfo.OrderFeeAmount,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
// 当前 未将 签名 写入合同中 todo 金额和有效时间待修改
|
// 当前 未将 签名 写入合同中 todo 金额和有效时间待修改
|
||||||
|
Loading…
Reference in New Issue
Block a user