You've already forked qlg.tsgz.moe
Excel:L38
This commit is contained in:
@ -52,9 +52,9 @@ class Settlements extends Base
|
||||
if($buyerPreProductNum > 0 || $buyerPreCoupousNum > 0){
|
||||
if(3 == $order->goodsType){
|
||||
// helpSaleCouponsCalBase == 基数
|
||||
Model('common/UserVouchers')->insertVouchersNotice($order->userId,$orderId,$buyerPreProductNum*((float)dataConf('helpSaleCouponsCalBase')/100),$buyerPreCoupousNum*((float)dataConf('helpSaleCouponsCalBase')/100),'交易订单【'.$order->orderNo.'】购户购物所得');
|
||||
Model('common/UserVouchers')->insertVouchersNotice($order->userId,$orderId,$buyerPreProductNum*((float)dataConf('helpSaleCouponsCalBase')/100),$buyerPreCoupousNum*((float)dataConf('helpSaleCouponsCalBase')/100),'订单【'.$order->orderNo.'】购户购物所得');
|
||||
}else{
|
||||
Model('common/UserVouchers')->insertVouchersNotice($order->userId,$orderId,$buyerPreProductNum,$buyerPreCoupousNum,'交易订单【'.$order->orderNo.'】购户购物所得');
|
||||
Model('common/UserVouchers')->insertVouchersNotice($order->userId,$orderId,$buyerPreProductNum,$buyerPreCoupousNum,'订单【'.$order->orderNo.'】购户购物所得');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user