Commit 50554376 authored by liuyuzhen's avatar liuyuzhen

优惠券元和分转换问题

parent 055d0f51
......@@ -981,6 +981,8 @@ class OrderConfirmUtil {
$newCouponList = array();
$giftCouponIds = array();
foreach($couponList as $temp){
$temp['order_amount'] = $temp['order_amount']*\Our\ApiConst::hundred;
$temp['cash_money'] = $temp['cash_money']*\Our\ApiConst::hundred;
$newCouponList[$temp['couponId']] = $temp;
$storeCouponList[$temp['store_id']][] = $temp;
if($temp['coupon_type']==\Our\ApiConst::fullForCouponCouponType&&$temp['gift_coupon_id']>\Our\ApiConst::zero){
......
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