|
|
@@ -1482,6 +1482,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
@file_put_contents('quanju.txt', $level_price . "-团队奖励等级奖励金额\r\n", 8);
|
|
|
foreach ($group_info as &$value) { //遍历上级统计总业绩
|
|
|
if ($value[$field] >= $v['level']) { //判断是否达到该等级
|
|
|
+ @file_put_contents('quanju.txt', $value[$field] . "-团队奖励用户等级\r\n", 8);
|
|
|
$GiftLevel = app()->make(GiftLevel::class);
|
|
|
$group_users = $GiftLevel->get_group_user($value['uid']); //获取上级的用户和总业绩
|
|
|
|