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