diff --git a/app/api/controller/User.php b/app/api/controller/User.php index 7d02c007..6696ed33 100644 --- a/app/api/controller/User.php +++ b/app/api/controller/User.php @@ -68,7 +68,8 @@ class User extends Controller $userInfo['finace_count'] = BalanceLog::where(['user_id' => $userInfo->user_id, 'scene' => 50])->count() ?? 0; //获取用户收入 $userInfo['income'] = BalanceLog::where(['user_id' => $userInfo->user_id]) - ->whereIn('scene', [10, 30, 40, 60]) +// ->whereIn('scene', [10, 30, 40, 60]) + ->whereIn('scene', [60]) ->where('money', '>', 0) ->sum('money') ?? 0; //分销用户信息