结算守价

This commit is contained in:
苏尹岚
2020-08-14 14:41:48 +08:00
parent e32274a31b
commit 5a659f694b
3 changed files with 36 additions and 0 deletions

View File

@@ -273,6 +273,7 @@ func buildDefendPriceOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, address
DefendPrice: jxOrder.Skus[0].Price,
IsBuyNowPrice: jxOrder.IsBuyNowPrice,
Issue: issue,
IsSuccess: model.NO, //默认是不成功
}
priceDefendOrder.ActualPayPrice = int64(priceDefendOrder.Count) * priceDefendOrder.DefendPrice
dao.CreateEntity(db, &priceDefendOrder)