|
|
@@ -5,6 +5,7 @@ use common\components\Model;
|
|
|
use common\helpers\Cache;
|
|
|
use common\helpers\Date;
|
|
|
use common\helpers\Form;
|
|
|
+use common\helpers\LoggerTool;
|
|
|
use common\helpers\Tool;
|
|
|
use common\helpers\user\Cash;
|
|
|
use common\helpers\user\Reconsume;
|
|
|
@@ -662,9 +663,11 @@ class DeclarationForm extends Model
|
|
|
// 报单中心汇率
|
|
|
$decCountryId = User::getEnCodeInfo(\Yii::$app->user->id)['COUNTRY_ID'];
|
|
|
$decCountry = Countries::getById($decCountryId);
|
|
|
+ LoggerTool::debug(json_encode(['$decCountry', $decCountry]));
|
|
|
$decUserCurrencyRate = CurrencyConversions::getToUSDRate($decCountry['LOCAL_CURRENCY_ID']);
|
|
|
// 升级会员汇率
|
|
|
$country = Countries::getById($this->countryId);
|
|
|
+ LoggerTool::debug(json_encode(['$country', $country]));
|
|
|
$currencyRate = CurrencyConversions::getToUSDRate($country['LOCAL_CURRENCY_ID']);
|
|
|
|
|
|
if($this->decWay==1) {
|