会话列表 edit
This commit is contained in:
@@ -126,7 +126,7 @@ class MessageController extends ApiController
|
||||
// 批量更新
|
||||
$query->update(['is_read' => 1]);
|
||||
Db::commit();
|
||||
return $this->success();
|
||||
return $this->success(true);
|
||||
}catch (\Throwable $exception) {
|
||||
Db::rollback();
|
||||
return $this->error($exception->getMessage());
|
||||
@@ -154,7 +154,7 @@ class MessageController extends ApiController
|
||||
// 批量更新
|
||||
$query->update(['is_read' => 1]);
|
||||
Db::commit();
|
||||
return $this->success();
|
||||
return $this->success(true);
|
||||
}catch (\Throwable $exception) {
|
||||
Db::rollback();
|
||||
return $this->error($exception->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user