Commit 68d75f27 authored by liuyuzhen's avatar liuyuzhen

优惠券问题

parent afef8c40
...@@ -54,7 +54,7 @@ class CouponServiceModel extends \Business\AbstractModel{ ...@@ -54,7 +54,7 @@ class CouponServiceModel extends \Business\AbstractModel{
$temp['title'] = \Our\DescribeConst::specialCoupon; $temp['title'] = \Our\DescribeConst::specialCoupon;
$temp['subTitle'] = \Our\Common::format(\Our\DescribeConst::couponFullForCoupon,$orderAmount); $temp['subTitle'] = \Our\Common::format(\Our\DescribeConst::couponFullForCoupon,$orderAmount);
}else if($coupon['coupon_type'] == \Our\ApiConst::fullForGiftCouponType){ }else if($coupon['coupon_type'] == \Our\ApiConst::fullForGiftCouponType){
$temp['title'] = \Our\DescribeConst::specialCoupon; $temp['title'] = \Our\DescribeConst::giftCoupon;
$temp['subTitle'] = \Our\Common::format(\Our\DescribeConst::couponFullForGift,$orderAmount); $temp['subTitle'] = \Our\Common::format(\Our\DescribeConst::couponFullForGift,$orderAmount);
} }
$temp['storeId'] = $coupon['store_id']; $temp['storeId'] = $coupon['store_id'];
...@@ -108,7 +108,7 @@ class CouponServiceModel extends \Business\AbstractModel{ ...@@ -108,7 +108,7 @@ class CouponServiceModel extends \Business\AbstractModel{
$result['title'] = \Our\DescribeConst::specialCoupon; $result['title'] = \Our\DescribeConst::specialCoupon;
$result['subTitle'] = \Our\Common::format(\Our\DescribeConst::couponFullForCoupon,$orderAmount); $result['subTitle'] = \Our\Common::format(\Our\DescribeConst::couponFullForCoupon,$orderAmount);
}else if($coupon['coupon_type'] == \Our\ApiConst::fullForGiftCouponType){ }else if($coupon['coupon_type'] == \Our\ApiConst::fullForGiftCouponType){
$result['title'] = \Our\DescribeConst::specialCoupon; $result['title'] = \Our\DescribeConst::giftCoupon;
$result['subTitle'] = \Our\Common::format(\Our\DescribeConst::couponFullForGift,$orderAmount); $result['subTitle'] = \Our\Common::format(\Our\DescribeConst::couponFullForGift,$orderAmount);
} }
$result['useMemo'] = $coupon['use_memo']; $result['useMemo'] = $coupon['use_memo'];
......
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