Commit 23104cfa authored by liuyuzhen's avatar liuyuzhen

优惠券问题

parent 850979dc
...@@ -301,6 +301,7 @@ class CouponModel extends \DAO\AbstractModel { ...@@ -301,6 +301,7 @@ class CouponModel extends \DAO\AbstractModel {
$temp['type'] = $coupon['coupon_type']; $temp['type'] = $coupon['coupon_type'];
$temp['couponId'] = $coupon['id']; $temp['couponId'] = $coupon['id'];
$temp['is_overlay'] = $coupon['is_overlay']; $temp['is_overlay'] = $coupon['is_overlay'];
$temp['get_ticket_num'] = $coupon['get_ticket_num']?$coupon['get_ticket_num']:\Our\ApiConst::zero;
$orderAmount = (int)$coupon['order_amount']; $orderAmount = (int)$coupon['order_amount'];
if($coupon['type'] == \Our\ApiConst::noLimitCoupon){//无门槛优惠券 if($coupon['type'] == \Our\ApiConst::noLimitCoupon){//无门槛优惠券
$temp['type'] = \Our\ApiConst::noLimitCouponType; $temp['type'] = \Our\ApiConst::noLimitCouponType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment