This commit is contained in:
2025-03-26 17:26:10 +08:00
parent 0890c86524
commit d8b1f34a0a
9 changed files with 52 additions and 16 deletions

View File

@ -20,7 +20,7 @@ class Message extends Auth
public function read()
{
$message_id = $this->request->post('message_id');
$message_id = $this->request->post('id');
$message = $this->staff->messages()->where('id', $message_id)->find();
if (empty($message)) {
$this->error('消息不存在');