|
|
|
@ -282,13 +282,14 @@ select combo_id as c_id,count(*) as sale_count from orders where status in(2,4)
|
|
|
|
];
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$pay_item_count+=count($items);
|
|
|
|
$pay_item_count+=count($items);
|
|
|
|
|
|
|
|
$true_price+=$items_info['price'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//调用his接口查询用户积分和预存款,计算可以抵扣的金额
|
|
|
|
//调用his接口查询用户积分和预存款,计算可以抵扣的金额
|
|
|
|
$integral_money = 90;//积分抵扣金额
|
|
|
|
$integral_money = 90;//积分抵扣金额
|
|
|
|
$save_money = 150;//预存款抵扣金额
|
|
|
|
$save_money = 150;//预存款抵扣金额
|
|
|
|
$coupon_money=50;//优惠券抵扣金额
|
|
|
|
$coupon_money=50;//优惠券抵扣金额
|
|
|
|
|
|
|
|
|
|
|
|
$true_price+=$items_info['price']; //用户真实支付价格,应减去抵扣(二期实现)
|
|
|
|
//用户真实支付价格,应减去抵扣(二期实现)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$group_info = false;
|
|
|
|
$group_info = false;
|
|
|
|
|