kevin_zhangl 3 лет назад
Родитель
Сommit
104a5616a1
1 измененных файлов с 0 добавлено и 4 удалено
  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;
     }