1
This commit is contained in:
@@ -25,7 +25,7 @@ func actType2Txd(actType int) *int64 {
|
||||
actType = tao_vegetable.DiscountTypeDeductMoney
|
||||
} else if actType == model.ActSkuSecKill {
|
||||
actType = tao_vegetable.DiscountTypeOnePrice
|
||||
} else {
|
||||
} else if actType == model.ActSkuDiscount {
|
||||
actType = tao_vegetable.DiscountTypeDiscounts
|
||||
}
|
||||
return utils.Int64ToPointer(int64(actType))
|
||||
@@ -103,6 +103,7 @@ func storeSku2ActData(act *model.Act2, actStoreSku []*model.ActStoreSku2, handle
|
||||
}
|
||||
|
||||
sType := *actType2Txd(v.Type)
|
||||
globals.SugarLogger.Debugf("sType=%d", sType)
|
||||
switch sType {
|
||||
case tao_vegetable.DiscountTypeDeductMoney:
|
||||
decreaseMoney = v.VendorPrice - v.ActualActPrice
|
||||
|
||||
Reference in New Issue
Block a user