zm
2021-04-01 802c31297a1ae5b8c2e8fb5c62e9790dfc5d7583
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('优惠券领取失败');