This commit is contained in:
yan.y
2024-05-16 15:29:25 +08:00
parent 6d86177676
commit e06c2d10e9
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -89,6 +89,7 @@ func (p DefParty) orderCreate() web_iris.Party {
OrderId: orderId,
Uid: headerBaseInfo.Uid,
OrderStatus: 1,
PayType: 1,
ServiceTime: orderCreateRequest.ServiceTime,
ServiceAddrId: orderCreateRequest.ServiceAddrId,
ServiceRemark: "",
@@ -157,6 +158,7 @@ func (p DefParty) orderCreate() web_iris.Party {
}
db4 = tx.Model(&userInfo).Updates(&updateValues)
orderMain.PayDiscount = userInfo.Discount
orderMain.PayType = 3
for index := range orderSubList {
orderSubList[index].PayType = 3
}