镇合伙人直推奖励抵扣红包

This commit is contained in:
luofei 2024-01-29 11:10:16 +08:00
parent d738995aef
commit 66130c66d2

View File

@ -101,10 +101,6 @@ class CommissionDao
];
$result[] = $user;
}
//用户是镇合伙人,不发放红包
if ($user['type'] == 3) {
continue;
}
$redPack = bcmul($order['pay_price'], $consumption['config']['red_pack_rate'], 2);
if ($redPack > 0) {
try {