diff --git a/hyhproject/common/model/Settlements.php b/hyhproject/common/model/Settlements.php index d517d01..325c6ab 100755 --- a/hyhproject/common/model/Settlements.php +++ b/hyhproject/common/model/Settlements.php @@ -150,8 +150,8 @@ class Settlements extends Base }else{ $agentProductMoney = round($totalMoney * (dataConf('shopPreCoupousNoInProductScale')*0.01),5);//2 } - if($agentProductMoney >= 0.01){ - Model('common/UserVouchers')->insertVouchersNotice($agentUserId,$orderId,0,$agentProductMoney,'交易订单【'.$order->orderNo.'】商超所得'); + if($agentProductMoney >= 0.0001){ + 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 } 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 } if($agentProductMoney >= 0.01){ - Model('common/UserVouchers')->insertVouchersNotice($agentUserId,$orderId,0,$agentProductMoney,'交易订单【'.$order->orderNo.'】商都所得'); + Model('common/UserVouchers')->insertVouchersNotice($agentUserId,$orderId,$agentProductMoney,0,'订单【'.$order->orderNo.'】商都监管购户所得'); } } }