3商获得产品券
This commit is contained in:
parent
b7d6b0ed8d
commit
0ac236a619
@ -150,8 +150,8 @@ class Settlements extends Base
|
|||||||
}else{
|
}else{
|
||||||
$agentProductMoney = round($totalMoney * (dataConf('shopPreCoupousNoInProductScale')*0.01),5);//2
|
$agentProductMoney = round($totalMoney * (dataConf('shopPreCoupousNoInProductScale')*0.01),5);//2
|
||||||
}
|
}
|
||||||
if($agentProductMoney >= 0.01){
|
if($agentProductMoney >= 0.0001){
|
||||||
Model('common/UserVouchers')->insertVouchersNotice($agentUserId,$orderId,0,$agentProductMoney,'交易订单【'.$order->orderNo.'】商超所得');
|
Model('common/UserVouchers')->insertVouchersNotice($agentUserId,$orderId,$agentProductMoney,0,'订单【'.$order->orderNo.'】商超监管购户所得');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//乡镇代理
|
//乡镇代理
|
||||||
@ -168,7 +168,7 @@ class Settlements extends Base
|
|||||||
$agentProductMoney = round($totalMoney * (dataConf('shopPreCoupousNoInProductScale')*0.01),5);//2
|
$agentProductMoney = round($totalMoney * (dataConf('shopPreCoupousNoInProductScale')*0.01),5);//2
|
||||||
}
|
}
|
||||||
if($agentProductMoney >= 0.01){
|
if($agentProductMoney >= 0.01){
|
||||||
Model('common/UserVouchers')->insertVouchersNotice($agentUserId,$orderId,0,$agentProductMoney,'交易订单【'.$order->orderNo.'】商厦所得');
|
Model('common/UserVouchers')->insertVouchersNotice($agentUserId,$orderId,$agentProductMoney,0,'订单【'.$order->orderNo.'】商厦监管购户所得');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//区县代理
|
//区县代理
|
||||||
@ -184,7 +184,7 @@ class Settlements extends Base
|
|||||||
$agentProductMoney = round($totalMoney * (dataConf('shopPreCoupousNoInProductScale')*0.01),5);//2
|
$agentProductMoney = round($totalMoney * (dataConf('shopPreCoupousNoInProductScale')*0.01),5);//2
|
||||||
}
|
}
|
||||||
if($agentProductMoney >= 0.01){
|
if($agentProductMoney >= 0.01){
|
||||||
Model('common/UserVouchers')->insertVouchersNotice($agentUserId,$orderId,0,$agentProductMoney,'交易订单【'.$order->orderNo.'】商都所得');
|
Model('common/UserVouchers')->insertVouchersNotice($agentUserId,$orderId,$agentProductMoney,0,'订单【'.$order->orderNo.'】商都监管购户所得');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user