kevin_zhangl 3 gadi atpakaļ
vecāks
revīzija
104a5616a1
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  1. 0 4
      common/models/forms/DeclarationForm.php

+ 0 - 4
common/models/forms/DeclarationForm.php

@@ -732,10 +732,6 @@ class DeclarationForm extends Model
             if(!($decResult = $this->addDecOrder())) {
                 throw new Exception(Form::formatErrorsForApi($decResult->getErrors()));
             }
-            // 修改BA会员升级状态
-            if (!BaUser::updateAll(['WHETHER_UPGRADE' => 1, 'BA_UPGRADE_AT' => time()], 'USER_NAME=:USER_NAME', [':USER_NAME' => $this->insertUserName])) {
-                throw new Exception(Form::formatErrorsForApi('BA升级状态错误'));
-            }
         }
         return true;
     }