\App\Http\Controllers\AdminNotificationController

Summary

Methods
Properties
Constants
home()
__construct()
notifications()
notification()
unReadCount()
allRead()
send()
admins()
read()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$user
N/A

Properties

Methods

home()

home() : \Illuminate\Contracts\View\View

homePage

Returns

\Illuminate\Contracts\View\View

__construct()

__construct() 

NotificationController constructor.

notifications()

notifications(\App\Http\Requests\Admin\Notification\GetListRequest  $request) : \Symfony\Component\HttpFoundation\Response

获取通知列表

Parameters

\App\Http\Requests\Admin\Notification\GetListRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

notification()

notification(\Illuminate\Http\Request  $request) : \Symfony\Component\HttpFoundation\Response

通知详情

Parameters

\Illuminate\Http\Request $request

Returns

\Symfony\Component\HttpFoundation\Response

unReadCount()

unReadCount() : \Symfony\Component\HttpFoundation\Response

未读通知数

Returns

\Symfony\Component\HttpFoundation\Response

allRead()

allRead() : \Symfony\Component\HttpFoundation\Response

全部已读

Returns

\Symfony\Component\HttpFoundation\Response

send()

send(\App\Http\Requests\Admin\Notification\SendRequest  $request) : \Symfony\Component\HttpFoundation\Response

发送通知

Parameters

\App\Http\Requests\Admin\Notification\SendRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

admins()

admins() : \Symfony\Component\HttpFoundation\Response

获取可通知的后台管理员

Returns

\Symfony\Component\HttpFoundation\Response

read()

read(\Illuminate\Http\Request  $request) : \Symfony\Component\HttpFoundation\Response

标记已读

Parameters

\Illuminate\Http\Request $request

Returns

\Symfony\Component\HttpFoundation\Response