plugins/exchange/forms/exchange/basic/Balance.php
@@ -14,7 +14,7 @@ { try { $balance = floatval($this->config['balance']); $desc = sprintf('兑换码%s兑换%s余额', $this->codeModel->code, $balance); $desc = sprintf('提货卡%s兑换%s余额', $this->codeModel->code, $balance); return \Yii::$app->currency->setUser($this->user)->balance->add($balance, $desc) === true; } catch (\Exception $e) { $message = $e->getMessage();