改进 标记为 已读
This commit is contained in:
parent
3f9841559d
commit
0ae44a85cb
@ -152,7 +152,7 @@ public function markAsRead(): bool
|
||||
return false;
|
||||
}
|
||||
|
||||
if (auth('admin')) {
|
||||
if (auth('admin')->check()) {
|
||||
$this->status = 'read';
|
||||
} else {
|
||||
$this->status = 'user_read';
|
||||
|
Loading…
Reference in New Issue
Block a user