|
|
@@ -317,7 +317,7 @@ class User extends BaseController
|
|
317
|
317
|
// 先去更新一下用户身份
|
|
318
|
318
|
$number = Db::name("system_config_value")->where(["config_key" => "team_commission_recursion_depth"])->value("value");
|
|
319
|
319
|
$this->repository->setUserIdentity($user->uid);
|
|
320
|
|
- $result = $this->repository->getUserContributeInfoByDepth($user->uid, $number);
|
|
|
320
|
+ $result = $this->repository->getUserContributeInfoByDepth($user->uid, 0);
|
|
321
|
321
|
$con = DB::name('user')->where('uid', $user->uid)->find();
|
|
322
|
322
|
$isNormalUser = false;
|
|
323
|
323
|
if ($con['user_group'] == 1) {
|