Преглед на файлове

查询团队贡献值时,不限制查询层级

sunxbiao преди 1 година
родител
ревизия
8e01c9dafe
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/controller/api/user/User.php

+ 1 - 1
app/controller/api/user/User.php

@@ -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) {