|
|
@@ -529,12 +529,11 @@ class UserController extends BaseController {
|
|
|
$redis->setex('key_'.$userName , 3600 , $userName);
|
|
|
|
|
|
// 报单中心会员的本地汇率
|
|
|
- $decCountry = User::getEnCodeInfo(\Yii::$app->user->id)['COUNTRY_ID'];
|
|
|
- LoggerTool::error('$decCountry. ' . json_encode($decCountry));
|
|
|
+ $decCountryId = User::getEnCodeInfo(\Yii::$app->user->id)['COUNTRY_ID'];
|
|
|
+ $decCountry = Countries::getById($decCountryId);
|
|
|
$decUserCurrencyRate = CurrencyConversions::getToUSDRate($decCountry['LOCAL_CURRENCY_ID']);
|
|
|
// 新会员的本地汇率
|
|
|
$country = Countries::getById($countryId);
|
|
|
- LoggerTool::error('$country. ' . json_encode($country));
|
|
|
$currencyRate = CurrencyConversions::getToUSDRate($country['LOCAL_CURRENCY_ID']);
|
|
|
|
|
|
// 会员账户
|