From a186ea33bd6d423f55a0f099cd107c61b437e8ed Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 4 Nov 2019 14:49:35 +0800 Subject: [PATCH] up --- business/jxstore/act/act.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 81727c284..8b9d77067 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -160,8 +160,6 @@ func ActStoreSkuParam2Model(ctx *jxcontext.Context, db *dao.DaoDB, act *model.Ac if actSkuMap.ActualActPrice <= 0 { actSkuMap.ActualActPrice = 1 } - } - if act.Type != model.ActSkuFake { if err2 := checkDiscountValidation(act.Type, int(actSkuMap.ActualActPrice*100/actSkuMap.VendorPrice)); err2 != nil { v.ErrMsg = err2.Error() v.ActualActPrice = actSkuMap.ActualActPrice