|
|
@@ -531,7 +531,7 @@ class UserController extends BaseController {
|
|
|
$decCountry = User::getEnCodeInfo(\Yii::$app->user->id)['COUNTRY_ID'];
|
|
|
$decUserCurrencyRate = CurrencyConversions::getToUSDRate($decCountry['LOCAL_CURRENCY_ID']);
|
|
|
// 新会员的本地汇率
|
|
|
- $country = Countries::getById($countyId);
|
|
|
+ $country = Countries::getById($countryId);
|
|
|
$currencyRate = CurrencyConversions::getToUSDRate($country['LOCAL_CURRENCY_ID']);
|
|
|
|
|
|
// 会员账户
|
|
|
@@ -545,7 +545,7 @@ class UserController extends BaseController {
|
|
|
$userBalance['localCash'] = Tool::convertAmount($userCash['CASH'], $decUserCurrencyRate, $currencyRate);
|
|
|
}
|
|
|
// 行政区划
|
|
|
- $region = Region::getByCountryId($countyId);
|
|
|
+ $region = Region::getByCountryId($countryId);
|
|
|
|
|
|
return static::notice([
|
|
|
'allDecPackage' => $allDecPackage,
|