|
|
@@ -219,8 +219,7 @@ class ApproachDeclarationUpgradeForm extends Model
|
|
|
$checkPv = $totalPv + $diffPerf;
|
|
|
if ($hasInstalment){ // 如果买了分期付款商品,则不判断总pv
|
|
|
$allData['hasInstalment'] = 1;
|
|
|
- }
|
|
|
- if($checkPv < $decLevel['PERF']) {
|
|
|
+ }else if($checkPv < $decLevel['PERF']) {
|
|
|
throw new Exception(Yii::t('app', 'totalPVLessThan'), 400);
|
|
|
}
|
|
|
foreach ($decLevelConfig as $key=>$val){
|