Browse Source

feat: NG-15: 新会员注册时增加国家与语言选项.

zhangl 1 year ago
parent
commit
53c6f68985
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/models/forms/DeclarationUpgradeForm.php

+ 1 - 1
common/models/forms/DeclarationUpgradeForm.php

@@ -372,7 +372,7 @@ class DeclarationUpgradeForm extends Model
             $orderModel->ORDER_AMOUNT_STANDARD = $this->_decAmountStandard;
             $orderModel->PAY_AMOUNT_STANDARD = $this->_standardAmount;
             $orderModel->EXCHANGE_RATE = $userCurrencyRate;
-            $orderModel->COUNTRY_ID = $userCountry['COUNTRY_ID'];
+            $orderModel->COUNTRY_ID = $userCountryId;
             $orderModel->CURRENCY_ID = $userCountry['LOCAL_CURRENCY_ID'] ?? 0;
             if(!$orderModel->save()){
                 $transaction->rollBack();