zm
2021-04-01 802c31297a1ae5b8c2e8fb5c62e9790dfc5d7583
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();