文字
This commit is contained in:
parent
e5caca3e10
commit
5e8f4bffac
@ -98,7 +98,7 @@ class Settlements extends Base
|
||||
$someCalBaseNum *= ((float)dataConf("balanceTjrGet")/100);
|
||||
Model('common/UserVouchers')->insertVouchersNotice($child['uid'], $orderId,
|
||||
$someCalBaseNum/sizeof($childes), 0,
|
||||
'订单【'.$order['orderNo'].'】被购户推荐人推荐所得',1);
|
||||
'订单【'.$order['orderNo'].'】被商户推荐人推荐所得',1);
|
||||
}
|
||||
// step 6 平台送自己的推荐人:当消费超过限制值时10000×0.4×0.5×0.5=1000“预获产品券”;
|
||||
// 当消费低于限制值时10000×0.4×0.5×0.2=400“预获产品券”。
|
||||
@ -110,8 +110,6 @@ class Settlements extends Base
|
||||
// 因为count一定会有数据所以不判断了
|
||||
if($data[0]["total"]<=dataConf("refPreProductYdGTMoney")){
|
||||
$someCalBaseNum = $toCalBaseNum*((float)dataConf("refPreProductNoInSaleScale")/100);
|
||||
Model('common/UserVouchers')->insertVouchersNotice($uUserId, $orderId,$toCalBaseNum*((float)dataConf("refPreProductNoInSaleScale")/100),
|
||||
0,'订单【'.$order['orderNo'].'】推荐购户所得',1);
|
||||
}else{
|
||||
$someCalBaseNum = $toCalBaseNum*((float)dataConf("refPreProductYesInSaleScale")/100);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user