From 8d3ae8c1af7cbabc4993434e47a32d1884fb1289 Mon Sep 17 00:00:00 2001 From: polaris <2673986789@qq.com> Date: Wed, 10 Jul 2024 01:07:09 +0800 Subject: [PATCH] revert: notification data --- models/floor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/floor.go b/models/floor.go index 6fe89e0..ab35427 100644 --- a/models/floor.go +++ b/models/floor.go @@ -577,7 +577,7 @@ func (floor *Floor) SendSensitive(_ *gorm.DB) error { description = "error: sensitive detail is empty!!!" } message := Notification{ - Data: floor.ID, + Data: floor, Recipients: userIDs, Description: description, Title: "您有待审核的内容",