@extends('layouts.admin') @section('title', '通知') @section('content')

通知

@if (Request::isNotFilled('user_id'))
首先,我们得先筛选出要通知哪些用户。

这两个搜搜条件只能二选一。

@endif @if (count($users))
筛选出的用户,接下来我们得选择通知方式。
{{-- 用户列表 --}}
@foreach ($users as $user) @endforeach
ID 用户名 邮箱 余额 用户组 注册时间 操作
{{ $user->id }} {{ $user->name }} {{ $user->email }} {{ $user->balance }} 元 @if ($user->user_group_id) {{ $user->user_group->name }} @else 无 @endif {{ $user->created_at }} 编辑
{{ $users->links() }}
@csrf
通知一旦发送,将无法撤销! @else
没有符合条件的用户。
@endif @endsection