修改添加用户渠道获取

This commit is contained in:
2020-08-24 10:15:54 +08:00
parent e114200ea7
commit a7be2b7c7e
2 changed files with 4 additions and 1 deletions

View File

@@ -278,7 +278,7 @@ class IndexController extends AdminController
$users = User::whereHas('identity', function ($query) {
$query->where('identity_id', 1);
})->where('type', $type)->get();
})->get();
$userRet = $users->map(function ($code) {
return [