plugins/exchange/forms/exchange/basic/Coupon.php
@@ -29,7 +29,7 @@ } $send_num = $this->config['coupon_num']; $class = new CouponRelation($coupon, $this->codeModel); $desc = sprintf('兑换码%s获得', $this->codeModel->code); $desc = sprintf('提货卡%s获得', $this->codeModel->code); $result = $commonCoupon->receive($coupon, $class, $desc, $send_num) === true; if (!$result) { throw new \Exception('优惠券领取失败');