From de7d4d40c5a4698411eda8a5499c221b273aa3d0 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Wed, 17 Apr 2024 08:44:09 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A0=E6=B3=95=E6=8B=92=E7=BB=9D?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/service/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/service/post.go b/backend/service/post.go index 1d01102..19ec712 100644 --- a/backend/service/post.go +++ b/backend/service/post.go @@ -169,5 +169,5 @@ func (ps *PostService) PostReview(uin int64, id int, option database.ReviewOptio return err } - return ps.DB.UpdatePostStatus(id, database.POST_STATUS_APPROVED) + return ps.DB.UpdatePostStatus(id, newStat) }